summaryrefslogtreecommitdiff
path: root/regress/scp-uri.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/scp-uri.sh')
-rw-r--r--regress/scp-uri.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/regress/scp-uri.sh b/regress/scp-uri.sh
index faf5095a..20ac3c89 100644
--- a/regress/scp-uri.sh
+++ b/regress/scp-uri.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: scp-uri.sh,v 1.3 2021/08/03 01:05:24 djm Exp $
+# $OpenBSD: scp-uri.sh,v 1.4 2021/08/10 03:35:45 djm Exp $
# Placed in the Public Domain.
tid="scp-uri"
@@ -24,12 +24,11 @@ cp $OBJ/ssh_config $OBJ/ssh_config.orig
egrep -v '^ +(Port|User) +.*$' $OBJ/ssh_config.orig > $OBJ/ssh_config
for mode in scp sftp ; do
+ tag="$tid: $mode mode"
if test $mode = scp ; then
- scpopts="-M scp -q -S ${OBJ}/scp-ssh-wrapper.scp"
- tag="$tid"
+ scpopts="-O -q -S ${OBJ}/scp-ssh-wrapper.scp"
else
- scpopts="-M sftp -D ${SFTPSERVER}"
- tag="$tid: sftp mode"
+ scpopts="-s -D ${SFTPSERVER}"
fi
verbose "$tag: simple copy local file to remote file"
scpclean