Simplify an "if" in ssh-basic.test. Fixes bug #6169;
authorWayne Davison <wayned@samba.org>
Fri, 6 Mar 2009 15:07:43 +0000 (07:07 -0800)
committerWayne Davison <wayned@samba.org>
Fri, 6 Mar 2009 15:08:49 +0000 (07:08 -0800)
testsuite/ssh-basic.test

index 59144119d54e0ac01ab3edd2018fa512e984ff16..865de3cd33a7db9a6c6dc1b724c67840d3a8efa3 100644 (file)
@@ -18,7 +18,7 @@ if test x"$rsync_enable_ssh_tests" = xyes; then
     fi
 fi
 
-if ! [ "`$SSH -o'BatchMode yes' localhost echo yes`" = "yes" ]; then
+if [ "`$SSH -o'BatchMode yes' localhost echo yes`" != "yes" ]; then
     test_skipped "Skipping SSH tests because ssh conection to localhost not authorised"
 fi