summaryrefslogtreecommitdiff
path: root/source4/script/tests
diff options
context:
space:
mode:
authorBrad Henry <brad@samba.org>2006-10-24 02:49:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:39 -0500
commit11c6ecc8beff21a1e61417fe6b29620367404065 (patch)
tree8a7b5e80085c2fbb53c5509faf56d2ed26627f43 /source4/script/tests
parente0dfd66361e52d833e7a7ffa8ee7d77b33d6afd6 (diff)
downloadsamba-11c6ecc8beff21a1e61417fe6b29620367404065.tar.gz
samba-11c6ecc8beff21a1e61417fe6b29620367404065.tar.bz2
samba-11c6ecc8beff21a1e61417fe6b29620367404065.zip
r19475: fixed a couple of typos.
(This used to be commit f2df3a90f1f3b85bc3c847ebfc1d01e2fa9e9ee7)
Diffstat (limited to 'source4/script/tests')
-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."