summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--regress/agent-ptrace.sh2
-rw-r--r--regress/agent-timeout.sh2
3 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ef124628..0e11f53d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
diff --git a/regress/agent-ptrace.sh b/regress/agent-ptrace.sh
index 7367d7af..b9570ef4 100644
--- a/regress/agent-ptrace.sh
+++ b/regress/agent-ptrace.sh
@@ -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
diff --git a/regress/agent-timeout.sh b/regress/agent-timeout.sh
index 28b1be02..01d6580a 100644
--- a/regress/agent-timeout.sh
+++ b/regress/agent-timeout.sh
@@ -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