diff options
Diffstat (limited to 'tests/signal_static-0.c')
-rw-r--r-- | tests/signal_static-0.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/signal_static-0.c b/tests/signal_static-0.c new file mode 100644 index 0000000..e50e1dc --- /dev/null +++ b/tests/signal_static-0.c @@ -0,0 +1,13 @@ +/* trace code needs to handle random child signals */ +#include "tests.h" + +int main(int argc, char *argv[]) +{ + if (argc == 1) + /* don't dump usage since testsuite will try to exec us + * for possible skip status + */ + return 0; + else + return kill(getpid(), lookup_signal(argv[1])); +} |