X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/9d682a8dc19a7f74084714ada301804bf0b22176..79c9d8a1803d0b7437bd88bc9ee84b91886bcbe4:/testsuite/ssh-basic.test diff --git a/testsuite/ssh-basic.test b/testsuite/ssh-basic.test index 3f1647b9..caf880fc 100644 --- a/testsuite/ssh-basic.test +++ b/testsuite/ssh-basic.test @@ -10,14 +10,17 @@ . "$suitedir/rsync.fns" +if [ "x$rsync_enable_ssh_tests" != xyes ] +then + test_skipped "Skipping SSH tests because \$rsync_enable_ssh_tests is not set" +fi + if ! type ssh >/dev/null ; then - echo "Skipping SSH tests because ssh is not in the path" - exit 77 + test_skipped "Skipping SSH tests because ssh is not in the path" fi if ! [ "`ssh -o'BatchMode yes' localhost echo yes`" = "yes" ]; then - echo "Skipping SSH tests because ssh conection to localhost not authorised" - exit 77 + test_skipped "Skipping SSH tests because ssh conection to localhost not authorised" fi runtest "ssh: basic test" 'checkit "$RSYNC -avH -e ssh --rsync-path=$RSYNC ${FROM}/ localhost:${TO}" ${FROM}/ ${TO}'