Simplify an "if" in ssh-basic.test. Fixes bug #6169;

This commit is contained in:
Wayne Davison
2009-03-06 07:07:43 -08:00
parent b4d30300b9
commit 17a1676976

View 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