summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--regress/scp-ssh-wrapper.sh9
2 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index e1418db82..0eb979374 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
120051214
2 - (dtucker) OpenBSD CVS Sync (regress/)
3 - dtucker@cvs.openbsd.org 2005/12/30 04:36:39
4 [regress/scp-ssh-wrapper.sh]
5 Fix assumption about how many args scp will pass; ok djm@
6
120051213 720051213
2 - (djm) OpenBSD CVS Sync 8 - (djm) OpenBSD CVS Sync
3 - jmc@cvs.openbsd.org 2005/11/30 11:18:27 9 - jmc@cvs.openbsd.org 2005/11/30 11:18:27
@@ -3452,4 +3458,4 @@
3452 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 3458 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
3453 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 3459 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
3454 3460
3455$Id: ChangeLog,v 1.4027 2005/12/13 09:44:13 djm Exp $ 3461$Id: ChangeLog,v 1.4028 2005/12/14 04:39:20 dtucker Exp $
diff --git a/regress/scp-ssh-wrapper.sh b/regress/scp-ssh-wrapper.sh
index 8e4314773..594337d11 100644
--- a/regress/scp-ssh-wrapper.sh
+++ b/regress/scp-ssh-wrapper.sh
@@ -16,8 +16,11 @@ printname () {
16 done 16 done
17} 17}
18 18
19# discard first 5 args 19# Discard all but last argument. We use arg later.
20shift; shift; shift; shift; shift 20while test "$1" != ""; do
21 arg="$1"
22 shift
23done
21 24
22BAD="../../../../../../../../../../../../../${DIR}/dotpathdir" 25BAD="../../../../../../../../../../../../../${DIR}/dotpathdir"
23 26
@@ -49,6 +52,6 @@ badserver_4)
49 echo "X" 52 echo "X"
50 ;; 53 ;;
51*) 54*)
52 exec $1 55 exec $arg
53 ;; 56 ;;
54esac 57esac