summaryrefslogtreecommitdiff
path: root/tests/detach-stopped.test
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2015-05-25 22:51:19 +0000
committerDmitry V. Levin <ldv@altlinux.org>2015-05-25 23:31:31 +0000
commit6c8ef051f726138b07f6d1ac50c32ffcd6f7996a (patch)
tree2312d112c4e9f60ac8f1560e5a606a59f05488e1 /tests/detach-stopped.test
parentdf3899149e57b872af545ec2e83563f5b902d788 (diff)
downloadstrace-6c8ef051f726138b07f6d1ac50c32ffcd6f7996a.tar.gz
Consistently use error_msg instead of fprintf(stderr)
* linux/alpha/get_scno.c: Use error_msg. * linux/arm/get_scno.c: Likewise. * linux/mips/get_scno.c: Likewise. * linux/sh/get_scno.c: Likewise. * linux/x86_64/get_scno.c: Likewise. * exit.c (sys_exit): Likewise. * pathtrace.c (pathtrace_select, pathtrace_match): Likewise. * strace.c (alloctcb, droptcb, detach, startup_attach, test_ptrace_seize, init, cleanup, print_debug_info, maybe_allocate_tcb, startup_tcb, trace): Likewise. * syscall.c (update_personality, trace_syscall_exiting, get_scno): Likewise. * unwind.c (DPRINTF): Likewise. * tests/bexecve.test: Update patterns. * tests/detach-stopped.test: Likewise.
Diffstat (limited to 'tests/detach-stopped.test')
-rwxr-xr-xtests/detach-stopped.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/detach-stopped.test b/tests/detach-stopped.test
index 3d1c67e05..1c11c1013 100755
--- a/tests/detach-stopped.test
+++ b/tests/detach-stopped.test
@@ -10,7 +10,7 @@ run_prog_skip_if_failed \
check_prog sleep
$STRACE -d -enone / > /dev/null 2> "$LOG"
-if grep -F -x "PTRACE_SEIZE doesn't work" "$LOG" > /dev/null; then
+if grep -x "[^:]*strace: PTRACE_SEIZE doesn't work" "$LOG" > /dev/null; then
skip_ "PTRACE_SEIZE doesn't work"
fi