On BSD, this seemed to always exit after test failure. Try different
authorMartin Pool <mbp@samba.org>
Thu, 30 Aug 2001 06:54:15 +0000 (06:54 +0000)
committerMartin Pool <mbp@samba.org>
Thu, 30 Aug 2001 06:54:15 +0000 (06:54 +0000)
shell syntax.

runtests.sh

index 712bde8..f21371b 100755 (executable)
@@ -169,7 +169,10 @@ do
        *)
            echo "----- $testbase failed!"
            failed=`expr $failed + 1`
-           [ "$nopersist" = "yes" ] && exit 1
+           if [ "x$nopersist" = "xyes" ]
+           then
+               exit 1
+           fi
        esac
     fi
 done