summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ptrace_setoptions4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ptrace_setoptions b/tests/ptrace_setoptions
index b0a1c87..4bfe38d 100755
--- a/tests/ptrace_setoptions
+++ b/tests/ptrace_setoptions
@@ -13,6 +13,6 @@ check_strace
check_prog timeout
timeout -s 9 9 \
-$STRACE -df -enone /bin/true 2>&1 |
- fgrep -qx 'ptrace_setoptions = 0xe' ||
+$STRACE -df -enone / 2>&1 |
+ grep -F -x 'ptrace_setoptions = 0xe' > /dev/null ||
fail_ 'strace failed to recognize proper kernel PTRACE_O_TRACECLONE support'