diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-07-19 05:45:44 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-07-19 05:53:27 +0200 |
commit | b4a7c9d2b5f928e0b902b580d35dc8b244a3aae0 (patch) | |
tree | 44881589bca4af9dc7cb0c802e2574516215b4b1 /regress/scp-ssh-wrapper.sh | |
parent | upstream: Accept the verbose flag when searching for host keys in known (diff) | |
download | openssh-b4a7c9d2b5f928e0b902b580d35dc8b244a3aae0.tar.xz openssh-b4a7c9d2b5f928e0b902b580d35dc8b244a3aae0.zip |
upstream: add regression tests for scp for out-of-destination path file
creation by Harry Sintonen via Jakub Jelen in bz3007
OpenBSD-Regress-ID: 01ae5fbc6ce400b2df5a84dc3152a9e31f354c07
Diffstat (limited to 'regress/scp-ssh-wrapper.sh')
-rw-r--r-- | regress/scp-ssh-wrapper.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/regress/scp-ssh-wrapper.sh b/regress/scp-ssh-wrapper.sh index 59f1ff63e..7fb21f424 100644 --- a/regress/scp-ssh-wrapper.sh +++ b/regress/scp-ssh-wrapper.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: scp-ssh-wrapper.sh,v 1.3 2014/01/26 10:49:17 djm Exp $ +# $OpenBSD: scp-ssh-wrapper.sh,v 1.4 2019/07/19 03:45:44 djm Exp $ # Placed in the Public Domain. printname () { @@ -51,6 +51,18 @@ badserver_4) echo "C755 2 file" echo "X" ;; +badserver_5) + echo "D0555 0 " + echo "X" + ;; +badserver_6) + echo "D0555 0 ." + echo "X" + ;; +badserver_7) + echo "C0755 2 extrafile" + echo "X" + ;; *) set -- $arg shift |