summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-09-14 14:54:08 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2015-09-16 14:55:44 +0000
commit56291eabe04de9fa1944d41950c902dbc403c6a5 (patch)
tree450989d067c25acb5a1e5ccbce91fb16c376b66b
parentf89cb4f1b6d14e83b24d86565ac977d4567ce521 (diff)
downloadciat-tester-56291eabe04de9fa1944d41950c902dbc403c6a5.tar.gz
set -e in test runner so if curl fails we stop
-rwxr-xr-xtest-runner.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-runner.sh b/test-runner.sh
index cc37a98..441a024 100755
--- a/test-runner.sh
+++ b/test-runner.sh
@@ -6,6 +6,8 @@
# Example:
# ./test-runner.sh file:///test.img openstack tests/uname.test
+set -e
+
# Inputs
URL="$1"
FILE="$(basename "$URL")"