Skip SSH tests if $rsync_enable_ssh_tests is not set
[rsync/rsync.git] / testsuite / ssh-basic.test
index 3f1647b..2bf93a5 100644 (file)
 
 . "$suitedir/rsync.fns"
 
+if [ "x$rsync_enable_ssh_tests" != xyes ]
+then
+    echo "Skipping SSH tests because $rsync_enable_ssh_tests is not set"
+    exit 77
+fi
+
 if ! type ssh >/dev/null ; then
     echo "Skipping SSH tests because ssh is not in the path"
     exit 77