summaryrefslogtreecommitdiff
path: root/testsuite/ssh-basic.test
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2009-03-06 07:07:43 -0800
committerWayne Davison <wayned@samba.org>2009-03-06 07:07:43 -0800
commit17a1676976deacb11cbd064f3de0032c7a381069 (patch)
treedf1fa4b4ebfcdcd4ded02ac96d726e1063d256d7 /testsuite/ssh-basic.test
parentb4d30300b9cf6cdb77a95bd2018c7152f06ec94b (diff)
downloadrsync-17a1676976deacb11cbd064f3de0032c7a381069.tar.gz
Simplify an "if" in ssh-basic.test. Fixes bug #6169;
Diffstat (limited to 'testsuite/ssh-basic.test')
-rw-r--r--testsuite/ssh-basic.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/ssh-basic.test b/testsuite/ssh-basic.test
index 59144119..865de3cd 100644
--- a/testsuite/ssh-basic.test
+++ b/testsuite/ssh-basic.test
@@ -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