diff options
author | Colin Watson <cjwatson@debian.org> | 2018-01-16 17:39:31 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2018-01-16 17:39:45 +0000 |
commit | d8a3e68b4c3f80a022b033ab2317754838c71e96 (patch) | |
tree | ded913c093a231d63a1f6f2eeaaaf9e67b97deb7 /debian/patches/fix-regress-putty-transfer.patch | |
parent | f7234c24c90a60598018fbaa020f15a5ca3c82f0 (diff) | |
parent | bd081a1ae125c7c6b2cfec89746d1298a306ad78 (diff) |
Fix putty-transfer regression test.
Diffstat (limited to 'debian/patches/fix-regress-putty-transfer.patch')
-rw-r--r-- | debian/patches/fix-regress-putty-transfer.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/debian/patches/fix-regress-putty-transfer.patch b/debian/patches/fix-regress-putty-transfer.patch new file mode 100644 index 000000000..cfec3a9d2 --- /dev/null +++ b/debian/patches/fix-regress-putty-transfer.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From bd081a1ae125c7c6b2cfec89746d1298a306ad78 Mon Sep 17 00:00:00 2001 | ||
2 | From: Colin Watson <cjwatson@debian.org> | ||
3 | Date: Tue, 16 Jan 2018 17:38:36 +0000 | ||
4 | Subject: Fix putty-transfer regression test | ||
5 | |||
6 | The test key file is still called putty.rsa2, not putty.rsa. | ||
7 | |||
8 | Forwarded: no | ||
9 | Last-Update: 2018-01-16 | ||
10 | |||
11 | Patch-Name: fix-regress-putty-transfer.patch | ||
12 | --- | ||
13 | regress/putty-transfer.sh | 4 ++-- | ||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/regress/putty-transfer.sh b/regress/putty-transfer.sh | ||
17 | index 32c79f9e..57e46540 100644 | ||
18 | --- a/regress/putty-transfer.sh | ||
19 | +++ b/regress/putty-transfer.sh | ||
20 | @@ -15,7 +15,7 @@ for c in 0 1 ; do | ||
21 | ${OBJ}/.putty/sessions/compression_$c | ||
22 | echo "Compression=$c" >> ${OBJ}/.putty/sessions/kex_$k | ||
23 | env HOME=$PWD ${PLINK} -load compression_$c -batch \ | ||
24 | - -i putty.rsa cat ${DATA} > ${COPY} | ||
25 | + -i putty.rsa2 cat ${DATA} > ${COPY} | ||
26 | if [ $? -ne 0 ]; then | ||
27 | fail "ssh cat $DATA failed" | ||
28 | fi | ||
29 | @@ -26,7 +26,7 @@ for c in 0 1 ; do | ||
30 | rm -f ${COPY} | ||
31 | dd if=$DATA obs=${s} 2> /dev/null | \ | ||
32 | env HOME=$PWD ${PLINK} -load compression_$c \ | ||
33 | - -batch -i putty.rsa \ | ||
34 | + -batch -i putty.rsa2 \ | ||
35 | "cat > ${COPY}" | ||
36 | if [ $? -ne 0 ]; then | ||
37 | fail "ssh cat $DATA failed" | ||