mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-24 19:53:24 +08:00
- (tim) [regress/sftp-glob.sh] Shell portability fix.
This commit is contained in:
parent
a79bb8ec5e
commit
68d293859e
@ -37,6 +37,7 @@
|
||||
- deraadt@cvs.openbsd.org 2008/03/04 21:15:42
|
||||
[version.h]
|
||||
crank version; from djm
|
||||
- (tim) [regress/sftp-glob.sh] Shell portability fix.
|
||||
|
||||
20080302
|
||||
- (dtucker) [configure.ac] FreeBSD's glob() doesn't behave the way we expect
|
||||
@ -3697,4 +3698,4 @@
|
||||
OpenServer 6 and add osr5bigcrypt support so when someone migrates
|
||||
passwords between UnixWare and OpenServer they will still work. OK dtucker@
|
||||
|
||||
$Id: ChangeLog,v 1.4859 2008/03/07 07:35:47 djm Exp $
|
||||
$Id: ChangeLog,v 1.4860 2008/03/08 03:00:33 tim Exp $
|
||||
|
@ -15,9 +15,12 @@ sftp_ls() {
|
||||
if [ $? -ne 0 ]; then
|
||||
fail "$errtag failed"
|
||||
fi
|
||||
if test "x$expected" != "x" && \
|
||||
! fgrep "$expected" ${RESULTS} >/dev/null 2>&1 ; then
|
||||
if test "x$expected" != "x" ; then
|
||||
if fgrep "$expected" ${RESULTS} >/dev/null 2>&1 ; then
|
||||
:
|
||||
else
|
||||
fail "$expected missing from $errtag results"
|
||||
fi
|
||||
fi
|
||||
if test "x$unexpected" != "x" && \
|
||||
fgrep "$unexpected" ${RESULTS} >/dev/null 2>&1 ; then
|
||||
|
Loading…
Reference in New Issue
Block a user