diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2008-12-23 16:14:42 +0000 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2008-12-23 16:14:42 +0000 |
commit | b1efe53531c2f0f3fd2a4fc8a56220737539c44e (patch) | |
tree | f2db1199d4a2824224eaa2c23a0a2c3abeeca3f8 /test | |
parent | 1e3ce32a4fadb58230bca4f16baf8152579dd3d0 (diff) | |
download | strace-b1efe53531c2f0f3fd2a4fc8a56220737539c44e.tar.gz strace-b1efe53531c2f0f3fd2a4fc8a56220737539c44e.tar.bz2 strace-b1efe53531c2f0f3fd2a4fc8a56220737539c44e.tar.xz |
Fix build breakage from my previous commit.
Now I test for PT_SETOPTIONS being #defined.
Remove trailing whitespace.
No actual code changes.
Diffstat (limited to 'test')
-rw-r--r-- | test/childthread.c | 2 | ||||
-rw-r--r-- | test/leaderkill.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/childthread.c b/test/childthread.c index bc10d3a..bd0174b 100644 --- a/test/childthread.c +++ b/test/childthread.c @@ -1,7 +1,7 @@ /* Test exit of a child of a TCB_EXITING child where the toplevel process starts * waiting on it. The middle one gets detached and strace must update the * toplevel process'es number of attached children to 0. - * + * * gcc -o test/childthread test/childthread.c -Wall -ggdb2 -pthread;./strace -f ./test/childthread * It must print: write(1, "OK\n", ... */ diff --git a/test/leaderkill.c b/test/leaderkill.c index a5b27a5..18d6e12 100644 --- a/test/leaderkill.c +++ b/test/leaderkill.c @@ -1,7 +1,7 @@ /* Test handle_group_exit () handling of a thread leader still alive with its * thread child calling exit_group () and proper passing of the process exit * code to the process parent of this whole thread group. - * + * * gcc -o test/leaderkill test/leaderkill.c -Wall -ggdb2 -pthread;./test/leaderkill & pid=$!;sleep 1;strace -o x -q ./strace -f -p $pid * It must print: write(1, "OK\n", ... */ |