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
Make the default for --modify-window be 2 on cygwin.
[rsync/rsync.git]
/
testsuite
/
ssh-basic.test
diff --git
a/testsuite/ssh-basic.test
b/testsuite/ssh-basic.test
index
3f1647b
..
caf880f
100644
(file)
--- a/
testsuite/ssh-basic.test
+++ b/
testsuite/ssh-basic.test
@@
-10,14
+10,17
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+if [ "x$rsync_enable_ssh_tests" != xyes ]
+then
+ test_skipped "Skipping SSH tests because \$rsync_enable_ssh_tests is not set"
+fi
+
if ! type ssh >/dev/null ; then
if ! type ssh >/dev/null ; then
- echo "Skipping SSH tests because ssh is not in the path"
- exit 77
+ test_skipped "Skipping SSH tests because ssh is not in the path"
fi
if ! [ "`ssh -o'BatchMode yes' localhost echo yes`" = "yes" ]; then
fi
if ! [ "`ssh -o'BatchMode yes' localhost echo yes`" = "yes" ]; then
- echo "Skipping SSH tests because ssh conection to localhost not authorised"
- exit 77
+ test_skipped "Skipping SSH tests because ssh conection to localhost not authorised"
fi
runtest "ssh: basic test" 'checkit "$RSYNC -avH -e ssh --rsync-path=$RSYNC ${FROM}/ localhost:${TO}" ${FROM}/ ${TO}'
fi
runtest "ssh: basic test" 'checkit "$RSYNC -avH -e ssh --rsync-path=$RSYNC ${FROM}/ localhost:${TO}" ${FROM}/ ${TO}'