From fd4d0d83f133772aa1e84d8a3af6f642f9c73b5c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 7 Dec 2010 16:23:41 +0000 Subject: [PATCH] autobuild: Skip some tests on Ubuntu. --- autobuild.sh | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/autobuild.sh b/autobuild.sh index a0b288c..efea8b3 100755 --- a/autobuild.sh +++ b/autobuild.sh @@ -3,18 +3,19 @@ PROJECT=libguestfs FEBOOTSTRAP_PATH=$HOME/d/febootstrap MAILTO=libguestfs@redhat.com +HOSTNAME="$(hostname -s)" #---------------------------------------------------------------------- # Helper functions. failed () { - mail -s "$(hostname -s) $PROJECT FAILED $1 $gitsha" $MAILTO < local-log + mail -s "$HOSTNAME $PROJECT FAILED $1 $gitsha" $MAILTO < local-log } ok () { - mail -s "$(hostname -s) $PROJECT success $gitsha" $MAILTO < local-log + mail -s "$HOSTNAME $PROJECT success $gitsha" $MAILTO < local-log } #---------------------------------------------------------------------- @@ -32,7 +33,7 @@ rm -f local-log cat > local-log <