From 11c6ecc8beff21a1e61417fe6b29620367404065 Mon Sep 17 00:00:00 2001 From: Brad Henry Date: Tue, 24 Oct 2006 02:49:15 +0000 Subject: r19475: fixed a couple of typos. (This used to be commit f2df3a90f1f3b85bc3c847ebfc1d01e2fa9e9ee7) --- source4/script/tests/test_win.sh | 2 -- source4/script/tests/win/wintest_client.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'source4/script') 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." -- cgit