diff options
Diffstat (limited to 'regress/sftp-uri.sh')
-rw-r--r-- | regress/sftp-uri.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sftp-uri.sh b/regress/sftp-uri.sh index 4d19dd716..7be104dfb 100644 --- a/regress/sftp-uri.sh +++ b/regress/sftp-uri.sh | |||
@@ -34,7 +34,7 @@ cmp ${COPY} ${DIR}/copy || fail "corrupted copy" | |||
34 | 34 | ||
35 | verbose "$tid: put to remote directory (trailing slash)" | 35 | verbose "$tid: put to remote directory (trailing slash)" |
36 | sftpclean | 36 | sftpclean |
37 | ${SFTP} -q -S "$SSH" -F $OBJ/ssh_config -b /dev/stdin \ | 37 | ${SFTP} -q -S "$SSH" -F $OBJ/ssh_config -b - \ |
38 | "sftp://${USER}@somehost:${PORT}/${DIR}/" > /dev/null 2>&1 << EOF | 38 | "sftp://${USER}@somehost:${PORT}/${DIR}/" > /dev/null 2>&1 << EOF |
39 | version | 39 | version |
40 | put ${DATA} copy | 40 | put ${DATA} copy |
@@ -48,7 +48,7 @@ fi | |||
48 | 48 | ||
49 | verbose "$tid: put to remote directory (no slash)" | 49 | verbose "$tid: put to remote directory (no slash)" |
50 | sftpclean | 50 | sftpclean |
51 | ${SFTP} -q -S "$SSH" -F $OBJ/ssh_config -b /dev/stdin \ | 51 | ${SFTP} -q -S "$SSH" -F $OBJ/ssh_config -b - \ |
52 | "sftp://${USER}@somehost:${PORT}/${DIR}" > /dev/null 2>&1 << EOF | 52 | "sftp://${USER}@somehost:${PORT}/${DIR}" > /dev/null 2>&1 << EOF |
53 | version | 53 | version |
54 | put ${DATA} copy | 54 | put ${DATA} copy |