summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxsignal01/psxsignal01.scn
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxsignal01/psxsignal01.scn')
-rw-r--r--testsuites/psxtests/psxsignal01/psxsignal01.scn19
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxsignal01/psxsignal01.scn b/testsuites/psxtests/psxsignal01/psxsignal01.scn
new file mode 100644
index 0000000000..d07dd23bef
--- /dev/null
+++ b/testsuites/psxtests/psxsignal01/psxsignal01.scn
@@ -0,0 +1,19 @@
+*** POSIX TEST SIGNAL ***
+Init's ID is 0x0b010001
+Validate signal with SIG_DFL
+Validate signal with SIG_IGN
+Init: Unblock SIGUSR1 SIGFPE SIGILL SIGSEGV
+Init: signal return value verified
+Init: send SIGUSR1 to process
+Signal: 25 caught by 0xb010001 (1)
+Init: send SIGFPE to process
+Handler_1: Signal: 8 caught by 0xb010001 (2)
+Init: send SIGILL to process
+Handler_1: Signal: 4 caught by 0xb010001 (3)
+Init: send SIGSEGV to process
+Handler_1: Signal: 11 caught by 0xb010001 (4)
+Init: send SIGUSR1 to process from a TSR (interruptible sleep)
+Signal: 25 caught by 0xb010001 (1)
+Init: send SIGUSR1 to process from a TSR (spin)
+Signal: 25 caught by 0xb010001 (1)
+*** Validate unexpected program termination ***