We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c21c8fc commit 10124eeCopy full SHA for 10124ee
regress/sftp-resume.sh
@@ -1,4 +1,4 @@
1
-# $OpenBSD: sftp-resume.sh,v 1.1 2025/03/11 07:50:20 dtucker Exp $
+# $OpenBSD: sftp-resume.sh,v 1.2 2025/03/11 09:06:50 dtucker Exp $
2
# Placed in the Public Domain.
3
4
tid="sftp resume"
@@ -24,6 +24,8 @@ for cmd in put get; do
24
;;
25
same) cp ${DATA} ${COPY}.2
26
27
+ 1m) dd if=${COPY}.1 of=${COPY}.2 bs=1k count=1k >/dev/null 2<&1
28
+ ;;
29
*) dd if=${COPY}.1 of=${COPY}.2 bs=${size} count=1 >/dev/null 2>&1
30
31
esac
0 commit comments