summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spsem01/spsem01.scn
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2013-05-18 14:57:14 -0400
committerGedare Bloom <gedare@rtems.org>2013-05-20 09:37:53 -0400
commit9cdbf7349788c39889cfc7f0580175119dbf5ea9 (patch)
treea25a3407e26154f808f02d4d7f10e452aca094f8 /testsuites/sptests/spsem01/spsem01.scn
parentscore: use reference with strict mutex (diff)
downloadrtems-9cdbf7349788c39889cfc7f0580175119dbf5ea9.tar.bz2
sptests: add test for priority inversion with multiple locks
Diffstat (limited to 'testsuites/sptests/spsem01/spsem01.scn')
-rw-r--r--testsuites/sptests/spsem01/spsem01.scn16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuites/sptests/spsem01/spsem01.scn b/testsuites/sptests/spsem01/spsem01.scn
new file mode 100644
index 0000000000..8b0a59a228
--- /dev/null
+++ b/testsuites/sptests/spsem01/spsem01.scn
@@ -0,0 +1,16 @@
+*** TEST SEM01 ***
+init: S0 created
+init: S1 created
+init: TA01 created with priority 36
+init: TA02 created with priority 34
+TA01: started with priority 36
+TA01: priority 36, holding S0
+TA01: priority 36, holding S0, S1
+TA02: started with priority 34
+TA02: priority 34, holding S1
+TA02: exiting
+TA01: priority 36, holding S0
+TA01: priority 36
+TA01: exiting
+*** END OF SEM01 ***
+