summaryrefslogtreecommitdiffstats
path: root/source4/script
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script')
-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 0cad46bbeb2..015ee459fc8 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 7e99ff5e064..cd6427a0bd4 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."