/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
23-20.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGPROF 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGPROF 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
23-21.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGSYS 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGSYS 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
23-22.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGTRAP 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGTRAP 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
23-23.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGURG 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGURG 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
23-24.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGVTALRM 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGVTALRM 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
23-25.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGXCPU 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGXCPU 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
23-26.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGXFSZ 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGXFSZ 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
23-3.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGBUS 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGBUS 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
23-4.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGCHLD 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGCHLD 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
23-5.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGCONT 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGCONT 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
23-6.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGFPE 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGFPE 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
23-7.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGHUP 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGHUP 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
23-8.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGILL 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGILL 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
23-9.c | 19 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 20 * thread's signal mask during the handler execution. 23 * -> register a signal handler for SIGINT 27 * The test fails if signal handler if reentered or signal is not pending when raised again. 43 #include <signal.h> 77 #define SIGNAL SIGINT 92 FAILED("Signal was not masked in signal handler"); 97 /* Raise the signal again. It should be masked * [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/templates/ |
template_23-1.in | 20 * If SA_NODEFER is not set in sa_flags, the caught signal is added to the 21 * thread's signal mask during the handler execution. 24 * -> register a signal handler for %%MYSIG%% 28 * The test fails if signal handler if reentered or signal is not pending when raised again. 45 #include <signal.h> 79 #define SIGNAL %%MYSIG%% 95 FAILED( "Signal was not masked in signal handler" ); 101 /* Raise the signal again. It should be masked * [all...] |
/external/autotest/client/tests/signaltest/ |
control | 1 NAME='Signal Test' 8 Test signal passing to processes
|
/external/linux-kselftest/tools/testing/selftests/powerpc/signal/ |
Makefile | 2 TEST_PROGS := signal signal_tm 6 $(TEST_PROGS): ../harness.c ../utils.c signal.S
|
/external/llvm/lib/Fuzzer/test/ |
fuzzer-segv.test | 2 LIBFUZZER_OWN_SEGV_HANDLER: == ERROR: libFuzzer: deadly signal 3 LIBFUZZER_OWN_SEGV_HANDLER: SUMMARY: libFuzzer: deadly signal
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/signal/ |
6-1.c | 8 This program tests the assertion that signal() shall return SIG_ERR 9 and set errno to a positive value if an invalid signal number was 14 #include <signal.h> 29 if (signal(-1, myhandler) != SIG_ERR) { 31 ("Test FAILED: signal() didn't return SIG_ERR even though invalid signal number was passed to it\n"); 37 ("Test FAILED: errno wasn't set to a positive number even though invalid signal number was passed to the signal() function\n");
|
7-1.c | 8 This program tests the assertion that signal() shall return SIG_ERR 9 and set errno to a positive value if an invalid signal number was 14 #include <signal.h> 29 if (signal(SIGKILL, myhandler) != SIG_ERR) { 31 ("Test FAILED: signal() didn't return SIG_ERR even though a non-catchable signal was passed to it\n"); 37 ("Test FAILED: errno wasn't set to a positive number even though a non-catchable signal was passed to the signal() function\n");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/ |
coverage.txt | 12 9 WON'T test, as there is no known way to create a signal set that contains an invalid or unsupported signal.
|
/external/python/cpython2/Lib/test/ |
test_signal.py | 7 import signal 13 raise unittest.SkipTest("Can't test signal on %s" % sys.platform) 57 print "handlerA invoked from signal %s at:\n%s" % ( 63 print "handlerB invoked from signal %s at:\n%s" % ( 80 signal.signal(signal.SIGHUP, self.handlerA) 81 signal.signal(signal.SIGUSR1, self.handlerB [all...] |
/external/strace/tests/ |
erestartsys.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (erestartsys -a34 -e signal=none -e trace=recvfrom); do not edit. 4 run_strace_match_diff -a34 -e signal=none -e trace=recvfrom
|
printpath-umovestr-peekdata.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (printpath-umovestr-peekdata -a11 -e signal=none -e trace=chdir); do not edit. 4 run_strace_match_diff -a11 -e signal=none -e trace=chdir
|
printpath-umovestr-undumpable.gen.test | 2 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (printpath-umovestr-undumpable -a11 -e signal=none -e trace=chdir); do not edit. 4 run_strace_match_diff -a11 -e signal=none -e trace=chdir
|