diff options
author | Martin Pool <mbp@samba.org> | 2001-08-30 06:54:15 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2001-08-30 06:54:15 +0000 |
commit | 320989b05d7242149be03cd021d11e7201e4f937 (patch) | |
tree | e6e7d635067670e7a16d8883d3d86378914bfe82 | |
parent | 9d682a8dc19a7f74084714ada301804bf0b22176 (diff) | |
download | rsync-320989b05d7242149be03cd021d11e7201e4f937.tar.gz rsync-320989b05d7242149be03cd021d11e7201e4f937.tar.bz2 rsync-320989b05d7242149be03cd021d11e7201e4f937.zip |
On BSD, this seemed to always exit after test failure. Try different
shell syntax.
-rwxr-xr-x | runtests.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtests.sh b/runtests.sh index 712bde84..f21371be 100755 --- a/runtests.sh +++ b/runtests.sh @@ -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 |