summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-04 15:07:59 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-04 15:07:59 +1000
commit58f89bc14db0475c52abff7376111269cc892af8 (patch)
tree39ab5de335a717ecf0272a48aa722306ef5f6eaf /regress
parente15b0dd011b42612e699441a31ca88b9dc6b3f20 (diff)
- [regress/agent-ptrace.sh regress/agent-timeout.sh]
"grep -q" -> "grep >/dev/null"
Diffstat (limited to 'regress')
-rw-r--r--regress/agent-ptrace.sh2
-rw-r--r--regress/agent-timeout.sh2
2 files changed, 2 insertions, 2 deletions
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