diff options
Diffstat (limited to 'regress/putty-transfer.sh')
-rw-r--r-- | regress/putty-transfer.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/putty-transfer.sh b/regress/putty-transfer.sh index 57e465404..4928d4533 100644 --- a/regress/putty-transfer.sh +++ b/regress/putty-transfer.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: putty-transfer.sh,v 1.5 2017/04/30 23:34:55 djm Exp $ | 1 | # $OpenBSD: putty-transfer.sh,v 1.6 2018/02/23 03:03:00 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="putty transfer data" | 4 | tid="putty transfer data" |
@@ -15,7 +15,7 @@ for c in 0 1 ; do | |||
15 | ${OBJ}/.putty/sessions/compression_$c | 15 | ${OBJ}/.putty/sessions/compression_$c |
16 | echo "Compression=$c" >> ${OBJ}/.putty/sessions/kex_$k | 16 | echo "Compression=$c" >> ${OBJ}/.putty/sessions/kex_$k |
17 | env HOME=$PWD ${PLINK} -load compression_$c -batch \ | 17 | env HOME=$PWD ${PLINK} -load compression_$c -batch \ |
18 | -i putty.rsa2 cat ${DATA} > ${COPY} | 18 | -i ${OBJ}/putty.rsa2 cat ${DATA} > ${COPY} |
19 | if [ $? -ne 0 ]; then | 19 | if [ $? -ne 0 ]; then |
20 | fail "ssh cat $DATA failed" | 20 | fail "ssh cat $DATA failed" |
21 | fi | 21 | fi |
@@ -26,7 +26,7 @@ for c in 0 1 ; do | |||
26 | rm -f ${COPY} | 26 | rm -f ${COPY} |
27 | dd if=$DATA obs=${s} 2> /dev/null | \ | 27 | dd if=$DATA obs=${s} 2> /dev/null | \ |
28 | env HOME=$PWD ${PLINK} -load compression_$c \ | 28 | env HOME=$PWD ${PLINK} -load compression_$c \ |
29 | -batch -i putty.rsa2 \ | 29 | -batch -i ${OBJ}/putty.rsa2 \ |
30 | "cat > ${COPY}" | 30 | "cat > ${COPY}" |
31 | if [ $? -ne 0 ]; then | 31 | if [ $? -ne 0 ]; then |
32 | fail "ssh cat $DATA failed" | 32 | fail "ssh cat $DATA failed" |