From: Richard W.M. Jones Date: Tue, 7 Dec 2010 16:23:41 +0000 (+0000) Subject: autobuild: Skip some tests on Ubuntu. X-Git-Tag: 1.7.20~6 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=fd4d0d83f133772aa1e84d8a3af6f642f9c73b5c;p=libguestfs.git autobuild: Skip some tests on Ubuntu. --- 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 <