Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add link to purify replacement.
[rsync/rsync.git]
/
testsuite
/
ssh-basic.test
diff --git
a/testsuite/ssh-basic.test
b/testsuite/ssh-basic.test
index
e1aeb41
..
c24ac3e
100644
(file)
--- a/
testsuite/ssh-basic.test
+++ b/
testsuite/ssh-basic.test
@@
-10,12
+10,18
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
-if ! type ssh >/dev/null 2>&1; then
+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
fi
echo "Skipping SSH tests because ssh is not in the path"
exit 77
fi
-if ! [ "`ssh -o'BatchMode yes' localhost echo yes
2>/dev/null
`" = "yes" ]; then
+if ! [ "`ssh -o'BatchMode yes' localhost echo yes`" = "yes" ]; then
echo "Skipping SSH tests because ssh conection to localhost not authorised"
exit 77
fi
echo "Skipping SSH tests because ssh conection to localhost not authorised"
exit 77
fi