Fix bug which was killing all smoke-tests

- only fail if there is no secret password
This commit is contained in:
Bryan Boreham committed 2017-01-04 14:53:43 +00:00
1 parent 61d22bb8b4
commit 2298a40327
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ set -e
source "$STATE"
if [ -n "$TEST_AND_PUBLISH" ] ; then
[ -n "$SECRET_PASSWORD" ] || echo "Cannot run smoke tests: no secret key" && exit 1
[ -n "$SECRET_PASSWORD" ] || { echo "Cannot run smoke tests: no secret key"; exit 1; }
cd $SRCDIR/test
eval $(./gce.sh hosts)
export COVERAGE=true