summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxsignal01/psxsignal01.scn
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2007-12-19 18:41:15 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2007-12-19 18:41:15 +0000
commit7689b49ee9069bd5554641d18307ea41f3ab18f2 (patch)
tree4878aabf7a63a3c60ef4fed21fdbb0be1c1b227f /testsuites/psxtests/psxsignal01/psxsignal01.scn
parent2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-7689b49ee9069bd5554641d18307ea41f3ab18f2.tar.bz2
2007-12-19 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, configure.ac: Added posix signal test * psxsignal01/Makefile.am, psxsignal01/init.c, psxsignal01/psxsignal01.scn, psxsignal01/system.h, psxsignal01/task1.c: New files.
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 ***