From: Kees Monshouwer Date: Tue, 19 Nov 2013 12:01:03 +0000 (+0100) Subject: fix RETVAL for 'both' tests X-Git-Tag: rec-3.6.0-rc1~334^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcdd4fb7fa77329f1278d4033c056232b47e5746;p=thirdparty%2Fpdns.git fix RETVAL for 'both' tests don't overwrite first RETVAL in second run --- diff --git a/regression-tests/start-test-stop b/regression-tests/start-test-stop index 76d87f80a7..f54e937f5b 100755 --- a/regression-tests/start-test-stop +++ b/regression-tests/start-test-stop @@ -1197,7 +1197,10 @@ dotests () { echo -e "\n\n$t" cat $t/diff done - eval "$1=1" + if [ "${!1}" -eq 0 ] + then + eval "$1=1" + fi fi } @@ -1213,6 +1216,7 @@ export skipreasons export testsdir export optout +sleep 2 if [ $presigned = no ] || [ $both = yes ] then