From: Sean Dague Date: Fri, 22 Feb 2013 18:22:42 +0000 (-0500) Subject: allow run_tests.sh to report why it failed X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=cde01d58104b515422f86ed629b106bd30541b93;p=openstack-build%2Fcinder-build.git allow run_tests.sh to report why it failed the set -e was suppressing all the echo information about why run_tests.sh was failing, which makes it quite hard to figure out what is going on. Change-Id: Ie210ee5b5e9ff0028a89da520580db7cd1d9f03a --- diff --git a/run_tests.sh b/run_tests.sh index 74a25312f..03759ab62 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -eu +set -u function usage { echo "Usage: $0 [OPTION]..."