mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-24 10:53:24 +08:00
- [regress/agent-ptrace.sh regress/agent-timeout.sh]
"grep -q" -> "grep >/dev/null"
This commit is contained in:
parent
e15b0dd011
commit
58f89bc14d
@ -15,6 +15,8 @@
|
||||
regress/ssh-com-client.sh regress/ssh-com-sftp.sh regress/stderr-data.sh
|
||||
regress/transfer.sh] Use ${EXEEXT} where appropriate.
|
||||
- [regress/sftp.sh] Remove dependency on /dev/stdin.
|
||||
- [regress/agent-ptrace.sh regress/agent-timeout.sh]
|
||||
"grep -q" -> "grep >/dev/null"
|
||||
|
||||
20030903
|
||||
- (djm) OpenBSD CVS Sync
|
||||
@ -1005,4 +1007,4 @@
|
||||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||
|
||||
$Id: ChangeLog,v 1.2950 2003/09/04 05:00:55 dtucker Exp $
|
||||
$Id: ChangeLog,v 1.2951 2003/09/04 05:07:59 dtucker Exp $
|
||||
|
@ -30,7 +30,7 @@ EOF
|
||||
if [ $? -ne 0 ]; then
|
||||
fail "gdb failed: exit code $?"
|
||||
fi
|
||||
grep -q 'ptrace: Operation not permitted.' ${OBJ}/gdb.out
|
||||
grep 'ptrace: Operation not permitted.' >/dev/null ${OBJ}/gdb.out
|
||||
r=$?
|
||||
rm -f ${OBJ}/gdb.out
|
||||
if [ $r -ne 0 ]; then
|
||||
|
@ -26,7 +26,7 @@ else
|
||||
trace "sleeping 2*${TIMEOUT} seconds"
|
||||
sleep ${TIMEOUT}
|
||||
sleep ${TIMEOUT}
|
||||
${SSHADD} -l 2> /dev/null | grep -q 'The agent has no identities.'
|
||||
${SSHADD} -l 2> /dev/null | grep 'The agent has no identities.' >/dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
fail "ssh-add -l still returns keys after timeout"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user