summaryrefslogtreecommitdiff
path: root/testsuite/ssh-basic.test
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-08-31 05:41:45 +0000
committerMartin Pool <mbp@samba.org>2001-08-31 05:41:45 +0000
commit55bdb416328baa61f7d5b05e70f38c657f085e2f (patch)
tree7046c9ec41d88df2ae14930dce949ecffceab9c3 /testsuite/ssh-basic.test
parent7c06e407ecb9c99abce58665f85551d8e99707a9 (diff)
downloadrsync-55bdb416328baa61f7d5b05e70f38c657f085e2f.tar.gz
Skip SSH tests if $rsync_enable_ssh_tests is not set
Diffstat (limited to 'testsuite/ssh-basic.test')
-rw-r--r--testsuite/ssh-basic.test6
1 files changed, 6 insertions, 0 deletions
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