diff options
author | Colin Watson <cjwatson@debian.org> | 2003-09-23 18:08:35 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2003-09-23 18:08:35 +0000 |
commit | d59fd3e421aa81b8e5e118f3f806081df2aca879 (patch) | |
tree | 356a4e607edc979c625bb33db63c656d771478bd /regress/forwarding.sh | |
parent | 7505658c58e96b8d270f1928a0e1fa7f3e0c266b (diff) | |
parent | 45431c9b4677608680cd071768cbf156b316a7e8 (diff) |
Merge 3.7.1p2 to the trunk. I have absolutely no idea yet whether this will
work.
Diffstat (limited to 'regress/forwarding.sh')
-rw-r--r-- | regress/forwarding.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/regress/forwarding.sh b/regress/forwarding.sh index 7b281c013..dfe065dd6 100644 --- a/regress/forwarding.sh +++ b/regress/forwarding.sh | |||
@@ -2,6 +2,7 @@ | |||
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="local and remote forwarding" | 4 | tid="local and remote forwarding" |
5 | DATA=/bin/ls${EXEEXT} | ||
5 | 6 | ||
6 | start_sshd | 7 | start_sshd |
7 | 8 | ||
@@ -25,9 +26,9 @@ for p in 1 2; do | |||
25 | 26 | ||
26 | trace "transfer over forwarded channels and check result" | 27 | trace "transfer over forwarded channels and check result" |
27 | ${SSH} -$q -F $OBJ/ssh_config -p$last -o 'ConnectionAttempts=4' \ | 28 | ${SSH} -$q -F $OBJ/ssh_config -p$last -o 'ConnectionAttempts=4' \ |
28 | somehost cat /bin/ls > $OBJ/ls.copy | 29 | somehost cat $DATA > $OBJ/ls.copy |
29 | test -f $OBJ/ls.copy || fail "failed copy /bin/ls" | 30 | test -f $OBJ/ls.copy || fail "failed copy $DATA" |
30 | cmp /bin/ls $OBJ/ls.copy || fail "corrupted copy of /bin/ls" | 31 | cmp $DATA $OBJ/ls.copy || fail "corrupted copy of $DATA" |
31 | 32 | ||
32 | sleep 10 | 33 | sleep 10 |
33 | done | 34 | done |