summaryrefslogtreecommitdiffstats
path: root/c/src/tests/sptests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-05-24 21:39:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-05-24 21:39:42 +0000
commit88d594a3d52cb5938521619bca0def8e5b040cf0 (patch)
treec687a29a2a3d62c87e496c4c4700183f17210a5c /c/src/tests/sptests
parentForcing RCS revision to 1.2 I hope (diff)
downloadrtems-88d594a3d52cb5938521619bca0def8e5b040cf0.tar.bz2
Fully tested on all in-house targets
Diffstat (limited to 'c/src/tests/sptests')
-rw-r--r--c/src/tests/sptests/sp04/tswitch.c4
-rw-r--r--c/src/tests/sptests/sp09/screen14.c8
-rw-r--r--c/src/tests/sptests/sp09/sp09.scn1
-rw-r--r--c/src/tests/sptests/sp20/sp20.scn2
-rw-r--r--c/src/tests/sptests/spsize/size.c3
5 files changed, 5 insertions, 13 deletions
diff --git a/c/src/tests/sptests/sp04/tswitch.c b/c/src/tests/sptests/sp04/tswitch.c
index 3f0c2047bc..250ec5c9a7 100644
--- a/c/src/tests/sptests/sp04/tswitch.c
+++ b/c/src/tests/sptests/sp04/tswitch.c
@@ -18,7 +18,7 @@
* to the copyright license under the clause at DFARS 252.227-7013. This
* notice must appear in all copies of this file and its derivatives.
*
- * $Id$
+ * tswitch.c,v 1.2 1995/05/09 20:32:43 joel Exp
*/
#include "system.h"
@@ -44,7 +44,7 @@ rtems_extension Task_switch(
directive_failed( status, "rtems_clock_get" );
put_name( Task_name[ index ], FALSE );
- print_time( " - ", &time, "\n" );
+ print_time( "- ", &time, "\n" );
if ( time.second >= 16 ) {
puts( "*** END OF TEST 4 ***" );
diff --git a/c/src/tests/sptests/sp09/screen14.c b/c/src/tests/sptests/sp09/screen14.c
index bf80f04c3c..c0e75b1b98 100644
--- a/c/src/tests/sptests/sp09/screen14.c
+++ b/c/src/tests/sptests/sp09/screen14.c
@@ -76,14 +76,6 @@ void Screen14()
);
puts( "TA1 - rtems_timer_cancel - RTEMS_INVALID_ID" );
- status = rtems_timer_cancel( Timer_id[ 1 ] );
- fatal_directive_status(
- status,
- RTEMS_INCORRECT_STATE,
- "rtems_timer_cancel before initiated"
- );
- puts( "TA1 - rtems_timer_cancel - RTEMS_INCORRECT_STATE" );
-
status = rtems_timer_reset( 0x010100 );
fatal_directive_status(
status,
diff --git a/c/src/tests/sptests/sp09/sp09.scn b/c/src/tests/sptests/sp09/sp09.scn
index 534fc47e09..158593dcba 100644
--- a/c/src/tests/sptests/sp09/sp09.scn
+++ b/c/src/tests/sptests/sp09/sp09.scn
@@ -237,7 +237,6 @@ TA1 - rtems_timer_delete - local RTEMS_INVALID_ID
TA1 - rtems_timer_delete - global RTEMS_INVALID_ID
TA1 - rtems_timer_ident - RTEMS_INVALID_NAME
TA1 - rtems_timer_cancel - RTEMS_INVALID_ID
-TA1 - rtems_timer_cancel - RTEMS_INCORRECT_STATE
TA1 - rtems_timer_reset - RTEMS_INVALID_ID
TA1 - rtems_timer_reset - RTEMS_NOT_DEFINED
TA1 - rtems_timer_fire_after - RTEMS_INVALID_ID
diff --git a/c/src/tests/sptests/sp20/sp20.scn b/c/src/tests/sptests/sp20/sp20.scn
index 1de3c18db8..9e71a3d003 100644
--- a/c/src/tests/sptests/sp20/sp20.scn
+++ b/c/src/tests/sptests/sp20/sp20.scn
@@ -13,7 +13,7 @@ TA4 - rtems_rate_monotonic_ident id = 0x00010004
TA4 - (0x00010004) period 2
TA5 - rtems_rate_monotonic_create id = 0x00010005
TA5 - rtems_rate_monotonic_ident id = 0x00010005
-TA5 - (0x00010005) period 50
+TA5 - (0x00010005) period 100
TA5 - PERIODS CHECK OK (1)
TA5 - PERIODS CHECK OK (2)
TA5 - PERIODS CHECK OK (3)
diff --git a/c/src/tests/sptests/spsize/size.c b/c/src/tests/sptests/spsize/size.c
index 52404272fd..e890807ca3 100644
--- a/c/src/tests/sptests/spsize/size.c
+++ b/c/src/tests/sptests/spsize/size.c
@@ -332,7 +332,8 @@ uninitialized =
/*watchdog.h*/ (sizeof _Watchdog_Ticks_chain) +
(sizeof _Watchdog_Seconds_chain) +
- (sizeof _Watchdog_Sync) +
+ (sizeof _Watchdog_Sync_count) +
+ (sizeof _Watchdog_Sync_level) +
/*wkspace.h*/ (sizeof _Workspace_Area);