summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/script/tests/test_win.sh2
-rwxr-xr-xsource4/script/tests/win/wintest_client.sh2
2 files changed, 1 insertions, 3 deletions
diff --git a/source4/script/tests/test_win.sh b/source4/script/tests/test_win.sh
index 0cad46bbeb..015ee459fc 100755
--- a/source4/script/tests/test_win.sh
+++ b/source4/script/tests/test_win.sh
@@ -34,5 +34,3 @@ $WINTEST_DIR/wintest_net.sh $SMBTORTURE_REMOTE_HOST $SMBTORTURE_USERNAME \
|| all_errs=`expr $all_errs + $?`
$WINTEST_DIR/wintest_client.sh || all_errs=`expr $all_errs + $?`
-
-testok $0 $all_errs
diff --git a/source4/script/tests/win/wintest_client.sh b/source4/script/tests/win/wintest_client.sh
index 7e99ff5e06..cd6427a0bd 100755
--- a/source4/script/tests/win/wintest_client.sh
+++ b/source4/script/tests/win/wintest_client.sh
@@ -15,7 +15,7 @@ cat $WINTEST_DIR/wintest_client.exp >> $TMPDIR/client_test.exp
testit "$test_name" \
expect $TMPDIR/client_test.exp || all_errs=`expr $all_errs + 1`
-if [ $all_errs -gt 0 ]; then
+if [ $all_errs > 0 ]; then
# Restore snapshot to ensure VM is in a known state.
restore_snapshot "\n$test_name failed."
echo "Snapshot restored."