summaryrefslogtreecommitdiffstats
path: root/testsuites/itrontests
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>1999-11-16 20:49:18 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>1999-11-16 20:49:18 +0000
commit47c77059a098386e9f3cb2f9f74406d13a78baf7 (patch)
tree1549d1131387e74754bba25e4178f7c231d03ed3 /testsuites/itrontests
parentac0ba842778be3a67383d10b2c3d1b95c1e7c0d2 (diff)
downloadrtems-47c77059a098386e9f3cb2f9f74406d13a78baf7.tar.bz2
Added data to the log file so it matches the real output.
Diffstat (limited to 'testsuites/itrontests')
-rw-r--r--testsuites/itrontests/itronsem01/itronsem01.scn64
1 files changed, 61 insertions, 3 deletions
diff --git a/testsuites/itrontests/itronsem01/itronsem01.scn b/testsuites/itrontests/itronsem01/itronsem01.scn
index d9e92d81d5..38093bda31 100644
--- a/testsuites/itrontests/itronsem01/itronsem01.scn
+++ b/testsuites/itrontests/itronsem01/itronsem01.scn
@@ -1,3 +1,61 @@
-*** HELLO WORLD TEST ***
-Hello World
-*** END OF HELLO WORLD TEST ***
+*** ITRONSEM01 -- ITRON SEMAPHORE TEST ***
+Init - cre_sem - NULL pk_sem returns E_PAR
+Init - cre_sem - isemcnt > maxsem returns E_PAR
+Init - cre_sem - maxsem of 0 returns E_PAR
+Init - cre_sem - bad id (less than -4) - E_OACV
+Init - cre_sem - bad id (between 0 and -4) - E_ID
+Init - cre_sem - bad id (0) - E_ID
+Init - cre_sem - bad id (too great) - E_ID
+Init - cre_sem - create semaphore 1 TA_TFIFO - E_OK
+Init - cre_sem - create semaphore 1 again - E_OBJ
+Init - cre_sem - create semaphore 2 TA_TPRI - E_OK
+Init - del_sem - bad id (less than -4) - E_OACV
+Init - del_sem - bad id (between 0 and -4) - E_ID
+Init - del_sem - bad id (0) - E_ID
+Init - del_sem - bad id (too great) - E_ID
+Init - sig_sem - bad id (less than -4) - E_OACV
+Init - sig_sem - bad id (between 0 and -4) - E_ID
+Init - sig_sem - bad id (0) - E_ID
+Init - sig_sem - bad id (too great) - E_ID
+Init - preq_sem - bad id (less than -4) - E_OACV
+Init - preq_sem - bad id (between 0 and -4) - E_ID
+Init - preq_sem - bad id (0) - E_ID
+Init - preq_sem - bad id (too great) - E_ID
+Init - wai_sem - bad id (less than -4) - E_OACV
+Init - wai_sem - bad id (between 0 and -4) - E_ID
+Init - wai_sem - bad id (0) - E_ID
+Init - wai_sem - bad id (too great) - E_ID
+Init - twai_sem - bad id (less than -4) - E_OACV
+Init - twai_sem - bad id (between 0 and -4) - E_ID
+Init - twai_sem - bad id (0) - E_ID
+Init - twai_sem - bad id (too great) - E_ID
+Init - ref_sem - bad id (less than -4) - E_OACV
+Init - ref_sem - bad id (between 0 and -4) - E_ID
+Init - ref_sem - bad id (0) - E_ID
+Init - ref_sem - bad id (too great) - E_ID
+Init - preq_sem - semaphore 1 available (count --> 1) - E_OK
+Init - preq_sem - semaphore 1 available (count --> 0) - E_OK
+Init - preq_sem - semaphore 1 unavailable - E_TMOUT
+Init - sig_sem - semaphore 1 (count --> 1) - E_OK
+Init - twai_sem(TMO_POL) - semaphore 1 available (count --> 0) - E_OK
+Init - twai_sem(TMO_POL) - semaphore 1 available - E_TMOUT
+Init - twai_sem - semaphore 1 unavailable - 1 second E_TMOUT
+Init - starting to block at Fri Jan 01 00:00:00 1988
+Init - timed out at Fri Jan 01 00:00:01 1988
+Init - twai_sem - semaphore 1 unavailable - timeout completed
+Init - sig_sem - semaphore 1 (count --> 1) - E_OK
+Init - sig_sem - semaphore 1 (count --> 2) - E_OK
+Init - sig_sem - semaphore 1 (count --> 3) - E_OK
+Init - sig_sem - semaphore 1 (count > maximum) - E_QOVR
+Init - ref_sem - NULL pk_sem returns E_PAR
+Init - ref_sem - semaphore 1 - E_OK
+Init - semaphore 1 count = 4
+Init - semaphore 1 waiting tasks = 0
+Init - preq_sem - semaphore 1 (count --> 2) - E_OK
+Init - ref_sem - semaphore 1 - E_OK
+Init - semaphore 1 count = 3
+Init - semaphore 1 waiting tasks = 0
+Init - del_sem - semaphore 1 deleted - E_OK
+Init - XXX need other tasks to complete the test XXX
+Init - dly_tsk - 1 second to let other task run
+*** END OF ITRONSEM01 -- ITRON SEMAPHORE TEST ***