From: Wayne Davison Date: Fri, 6 Mar 2009 15:07:43 +0000 (-0800) Subject: Simplify an "if" in ssh-basic.test. Fixes bug #6169; X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/17a1676976deacb11cbd064f3de0032c7a381069?hp=b4d30300b9cf6cdb77a95bd2018c7152f06ec94b Simplify an "if" in ssh-basic.test. Fixes bug #6169; --- 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