diff options
Diffstat (limited to 'c/src/ada-tests/sptests/sp22')
-rw-r--r-- | c/src/ada-tests/sptests/sp22/config.h | 5 | ||||
-rw-r--r-- | c/src/ada-tests/sptests/sp22/sp22.scn | 8 |
2 files changed, 7 insertions, 6 deletions
diff --git a/c/src/ada-tests/sptests/sp22/config.h b/c/src/ada-tests/sptests/sp22/config.h index eec141905c..b85831b661 100644 --- a/c/src/ada-tests/sptests/sp22/config.h +++ b/c/src/ada-tests/sptests/sp22/config.h @@ -2,7 +2,7 @@ * * This include file defines the Configuration Table for this test. * - * COPYRIGHT (c) 1989-1997. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may in @@ -20,7 +20,8 @@ #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER -#define CONFIGURE_MAXIMUM_TIMERS 2 +#define CONFIGURE_MAXIMUM_TASKS 2 +#define CONFIGURE_MAXIMUM_TIMERS 2 #define CONFIGURE_POSIX_INIT_THREAD_TABLE diff --git a/c/src/ada-tests/sptests/sp22/sp22.scn b/c/src/ada-tests/sptests/sp22/sp22.scn index 8422e73141..3e96936e24 100644 --- a/c/src/ada-tests/sptests/sp22/sp22.scn +++ b/c/src/ada-tests/sptests/sp22/sp22.scn @@ -1,11 +1,11 @@ *** TEST 22 *** INIT - timer_create - creating timer 1 -INIT - timer 1 has id (16#10001#) +INIT - timer 1 has id (16#12010001#) TA1 - timer_ident - identing timer 1 -TA1 - timer 1 has id (16#10001#) +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 - 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 @@ -13,7 +13,7 @@ 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> +<pause> TA1 - timer_after - timer 1 in 3 seconds TA1 - timer_cancel - timer 1 TA1 - clock_get - 9: 0: 7 12/31/1988 |