summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxonce01/psxonce01.scn
diff options
context:
space:
mode:
authorChristian Mauderer <Christian.Mauderer@embedded-brains.de>2014-03-18 16:25:33 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-19 08:34:27 +0100
commit6592cabade83930ae03f086afd416a9bcd029197 (patch)
treee289b022f1f8375d0c4a4c64f2c5bbf6912a2c68 /testsuites/psxtests/psxonce01/psxonce01.scn
parentscore: Add _Assert_Not_reached() (diff)
downloadrtems-6592cabade83930ae03f086afd416a9bcd029197.tar.bz2
psxtests: move pthread_once tests into an extra test.
Diffstat (limited to 'testsuites/psxtests/psxonce01/psxonce01.scn')
-rw-r--r--testsuites/psxtests/psxonce01/psxonce01.scn11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxonce01/psxonce01.scn b/testsuites/psxtests/psxonce01/psxonce01.scn
new file mode 100644
index 0000000000..2c5d47d2d1
--- /dev/null
+++ b/testsuites/psxtests/psxonce01/psxonce01.scn
@@ -0,0 +1,11 @@
+
+
+*** TEST POSIX ONCE 01 ***
+Init: pthread_once - SUCCESSFUL (init_routine_nesting executes)
+Test_init_routine_nesting: invoked
+Init: pthread_once - EINVAL (NULL once_control)
+Init: pthread_once - EINVAL (NULL init_routine)
+Init: pthread_once - SUCCESSFUL (init_routine executes)
+Test_init_routine: invoked
+Init: pthread_once - SUCCESSFUL (init_routine does not execute)
+*** END OF TEST POSIX ONCE 01 ***