summaryrefslogtreecommitdiff
path: root/regress/agent-timeout.sh
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/agent-timeout.sh
parente15b0dd011b42612e699441a31ca88b9dc6b3f20 (diff)
- [regress/agent-ptrace.sh regress/agent-timeout.sh]
"grep -q" -> "grep >/dev/null"
Diffstat (limited to 'regress/agent-timeout.sh')
-rw-r--r--regress/agent-timeout.sh2
1 files changed, 1 insertions, 1 deletions
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