diff options
Diffstat (limited to 'source4/script/tests/win/wintest_client.sh')
-rwxr-xr-x | source4/script/tests/win/wintest_client.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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." |