Commit 17a16769 authored by Wayne Davison's avatar Wayne Davison

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

parent b4d30300
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment