diff options
author | Damien Miller <djm@mindrot.org> | 2008-03-12 23:59:43 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2008-03-12 23:59:43 +1100 |
commit | 4cd5fbab4d73b135e7775d90bb747eca4fca12cd (patch) | |
tree | 7915d2c2cd4e8222b71e8f88bcaec6a7bcd56751 | |
parent | d666d8e5d49f2e5bd5506a7f548d9ecee1b41d56 (diff) |
- djm@cvs.openbsd.org 2007/12/12 05:04:03
[regress/sftp-cmds.sh]
unbreak lls command and add a regress test that would have caught the
breakage; spotted by mouring@
NB. sftp code change already committed.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | regress/sftp-cmds.sh | 11 |
2 files changed, 13 insertions, 5 deletions
@@ -8,6 +8,11 @@ | |||
8 | more existant -> existent, from Martynas Venckus; | 8 | more existant -> existent, from Martynas Venckus; |
9 | pfctl changes: ok henning | 9 | pfctl changes: ok henning |
10 | ssh changes: ok deraadt | 10 | ssh changes: ok deraadt |
11 | - djm@cvs.openbsd.org 2007/12/12 05:04:03 | ||
12 | [regress/sftp-cmds.sh] | ||
13 | unbreak lls command and add a regress test that would have caught the | ||
14 | breakage; spotted by mouring@ | ||
15 | NB. sftp code change already committed. | ||
11 | 16 | ||
12 | 20080311 | 17 | 20080311 |
13 | - (dtucker) [auth-pam.c monitor.c session.c sshd.c] Bug #926: Move | 18 | - (dtucker) [auth-pam.c monitor.c session.c sshd.c] Bug #926: Move |
@@ -3729,4 +3734,4 @@ | |||
3729 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 3734 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
3730 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 3735 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
3731 | 3736 | ||
3732 | $Id: ChangeLog,v 1.4868 2008/03/12 12:58:55 djm Exp $ | 3737 | $Id: ChangeLog,v 1.4869 2008/03/12 12:59:43 djm Exp $ |
diff --git a/regress/sftp-cmds.sh b/regress/sftp-cmds.sh index b7d7bb714..a9bf50472 100644 --- a/regress/sftp-cmds.sh +++ b/regress/sftp-cmds.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: sftp-cmds.sh,v 1.8 2007/10/24 03:32:35 djm Exp $ | 1 | # $OpenBSD: sftp-cmds.sh,v 1.9 2007/12/12 05:04:03 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | # XXX - TODO: | 4 | # XXX - TODO: |
@@ -44,9 +44,12 @@ rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${COPY}.dd2 | |||
44 | mkdir ${COPY}.dd | 44 | mkdir ${COPY}.dd |
45 | 45 | ||
46 | verbose "$tid: lls" | 46 | verbose "$tid: lls" |
47 | echo "lls ${OBJ}" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ | 47 | echo "cd ${OBJ}\nlls" | ${SFTP} -P ${SFTPSERVER} 2>&1 | \ |
48 | || fail "lls failed" | 48 | grep -q copy.dd || fail "lls failed" |
49 | # XXX always successful | 49 | |
50 | verbose "$tid: lls w/path" | ||
51 | echo "lls ${OBJ}" | ${SFTP} -P ${SFTPSERVER} 2>&1 | \ | ||
52 | grep -q copy.dd || fail "lls w/path failed" | ||
50 | 53 | ||
51 | verbose "$tid: ls" | 54 | verbose "$tid: ls" |
52 | echo "ls ${OBJ}" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ | 55 | echo "ls ${OBJ}" | ${SFTP} -P ${SFTPSERVER} >/dev/null 2>&1 \ |