diff options
Diffstat (limited to 'c/src/ada-tests/sptests/sp22/ada_sp22.scn')
-rw-r--r-- | c/src/ada-tests/sptests/sp22/ada_sp22.scn | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/c/src/ada-tests/sptests/sp22/ada_sp22.scn b/c/src/ada-tests/sptests/sp22/ada_sp22.scn new file mode 100644 index 0000000000..3e96936e24 --- /dev/null +++ b/c/src/ada-tests/sptests/sp22/ada_sp22.scn @@ -0,0 +1,29 @@ +*** TEST 22 *** +INIT - timer_create - creating timer 1 +INIT - timer 1 has id (16#12010001#) +TA1 - timer_ident - identing timer 1 +TA1 - timer 1 has id (16#12010001#) +TA1 - clock_get - 9: 0: 0 12/31/1988 +TA1 - timer_after - timer 1 in 3 seconds +TA1 - task_suspend( SELF ) +TA1 - clock_get - 9: 0: 3 12/31/1988 +TA1 - timer_after - timer 1 in 3 seconds +TA1 - task_wake_after - 1 second +TA1 - clock_get - 9: 0: 4 12/31/1988 +TA1 - timer_reset - timer 1 +TA1 - task_suspend( SELF ) +TA1 - clock_get - 9: 0: 7 12/31/1988 +<pause> +TA1 - timer_after - timer 1 in 3 seconds +TA1 - timer_cancel - timer 1 +TA1 - clock_get - 9: 0: 7 12/31/1988 +TA1 - timer_when - timer 1 in 3 seconds +TA1 - task_suspend( SELF ) +TA1 - clock_get - 9: 0:10 12/31/1988 +TA1 - timer_when - timer 1 in 3 seconds +TA1 - task_wake_after - 1 second +TA1 - clock_get - 9: 0:11 12/31/1988 +TA1 - timer_cancel - timer 1 +TA1 - task_wake_after - YIELD (only task at priority) +TA1 - timer_delete - timer 1 +*** END OF TEST 22 *** |