X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/3fedd74ba21c4dd9d64d384881271d19fc80dc47..232ce2b2c8ce48020b4d5d26969c5dca9337a883:/testsuite/ssh-basic.test diff --git a/testsuite/ssh-basic.test b/testsuite/ssh-basic.test index e1aeb413..3f1647b9 100644 --- a/testsuite/ssh-basic.test +++ b/testsuite/ssh-basic.test @@ -10,12 +10,12 @@ . "$suitedir/rsync.fns" -if ! type ssh >/dev/null 2>&1; then +if ! type ssh >/dev/null ; then echo "Skipping SSH tests because ssh is not in the path" exit 77 fi -if ! [ "`ssh -o'BatchMode yes' localhost echo yes 2>/dev/null`" = "yes" ]; then +if ! [ "`ssh -o'BatchMode yes' localhost echo yes`" = "yes" ]; then echo "Skipping SSH tests because ssh conection to localhost not authorised" exit 77 fi