summaryrefslogtreecommitdiff
path: root/regress/putty-ciphers.sh
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2016-11-19 16:02:49 +0000
committerColin Watson <cjwatson@debian.org>2016-11-19 16:03:10 +0000
commit9c88f6248e9da14cb7916527862f2eac7f55b12a (patch)
tree7fe22ed8b89bcfafbbc22173026e8e4eaba2aa33 /regress/putty-ciphers.sh
parentb139635512b1af75e82252c0c71ac66e08b78774 (diff)
Fix PuTTY interop tests
A while back I got a patch into PuTTY (although it hasn't yet made it into an upstream release) to add passphrase-file options to puttygen. Use these to make the PuTTY interop tests non-interactive. Fix up a few details of the saved session. When plink is given a saved session name, it expects that *instead* of the host name (or IP address), not in addition to it. Drop "127.0.0.1" from the various plink test command lines. (It is possible that the last two of these represent compatibility breaks of some kind; but if they are, then that ship sailed sufficiently long ago - at least seven years, possibly more - that it's no longer worth worrying about it. It's more useful to test interoperability with current versions.) Origin: https://bugzilla.mindrot.org/attachment.cgi?id=2891 Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=2639 Last-Update: 2016-11-19 Patch-Name: fix-putty-interop-tests.patch
Diffstat (limited to 'regress/putty-ciphers.sh')
-rw-r--r--regress/putty-ciphers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/putty-ciphers.sh b/regress/putty-ciphers.sh
index 724a98cc1..3775b1d80 100644
--- a/regress/putty-ciphers.sh
+++ b/regress/putty-ciphers.sh
@@ -16,7 +16,7 @@ for c in aes blowfish 3des arcfour aes128-ctr aes192-ctr aes256-ctr ; do
16 16
17 rm -f ${COPY} 17 rm -f ${COPY}
18 env HOME=$PWD ${PLINK} -load cipher_$c -batch -i putty.rsa2 \ 18 env HOME=$PWD ${PLINK} -load cipher_$c -batch -i putty.rsa2 \
19 127.0.0.1 cat ${DATA} > ${COPY} 19 cat ${DATA} > ${COPY}
20 if [ $? -ne 0 ]; then 20 if [ $? -ne 0 ]; then
21 fail "ssh cat $DATA failed" 21 fail "ssh cat $DATA failed"
22 fi 22 fi