]> granicus.if.org Git - strace/commitdiff
Update ptrace_setoptions test
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 9 Jun 2011 16:10:07 +0000 (16:10 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 9 Jun 2011 16:10:07 +0000 (16:10 +0000)
The test have to be adjusted after commit v4.6-5-g3454e4b.

* ptrace_setoptions: Update grep pattern, rename to
ptrace_setoptions_followfork.
* tests/Makefile.am (TESTS): Rename ptrace_setoptions to
ptrace_setoptions_followfork.

tests/Makefile.am
tests/ptrace_setoptions_followfork [moved from tests/ptrace_setoptions with 84% similarity]

index 93636ca8fb857a8f12e4f30957252e1146763261..53e7662684764dbbbe56908971b6a4d51af84a6c 100644 (file)
@@ -1,6 +1,6 @@
 # Automake input for strace tests.
 
-TESTS = ptrace_setoptions strace-f
+TESTS = ptrace_setoptions_followfork strace-f
 
 EXTRA_DIST = init.sh $(TESTS)
 
similarity index 84%
rename from tests/ptrace_setoptions
rename to tests/ptrace_setoptions_followfork
index 4bfe38df399d16ad9838afca291c6206e852ab7a..987a2dbbbbe44c3929d30eeeae775121feae6575 100755 (executable)
@@ -14,5 +14,5 @@ check_prog timeout
 
 timeout -s 9 9 \
 $STRACE -df -enone / 2>&1 |
-       grep -F -x 'ptrace_setoptions = 0xe' > /dev/null ||
+       grep -F -x 'ptrace_setoptions_followfork = 0xe' > /dev/null ||
                fail_ 'strace failed to recognize proper kernel PTRACE_O_TRACECLONE support'