From 55bdb416328baa61f7d5b05e70f38c657f085e2f Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 31 Aug 2001 05:41:45 +0000 Subject: [PATCH] Skip SSH tests if $rsync_enable_ssh_tests is not set --- testsuite/ssh-basic.test | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testsuite/ssh-basic.test b/testsuite/ssh-basic.test index 3f1647b9..2bf93a58 100644 --- a/testsuite/ssh-basic.test +++ b/testsuite/ssh-basic.test @@ -10,6 +10,12 @@ . "$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 -- 2.34.1