Skip SSH tests if $rsync_enable_ssh_tests is not set
authorMartin Pool <mbp@samba.org>
Fri, 31 Aug 2001 05:41:45 +0000 (05:41 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 31 Aug 2001 05:41:45 +0000 (05:41 +0000)
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