diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-28 23:07:56 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-28 23:07:56 +0000 |
commit | f55f60591cdc27bf14eaa455b661420b2a4fb682 (patch) | |
tree | cacc6e50c34131a01e9d410e82130482c30f2028 /testsuites/sptests/sp28/init.c | |
parent | 2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-f55f60591cdc27bf14eaa455b661420b2a4fb682.tar.bz2 |
2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp09/screen01.c, sp09/screen02.c, sp09/screen03.c, sp09/screen05.c,
sp09/screen09.c, sp09/screen14.c, sp09/sp09.scn, sp28/init.c,
sp28/sp28.scn, sp43/init.c: Add more error cases uncovered by uC5282
coverage runs.
Diffstat (limited to 'testsuites/sptests/sp28/init.c')
-rw-r--r-- | testsuites/sptests/sp28/init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuites/sptests/sp28/init.c b/testsuites/sptests/sp28/init.c index 4abbada522..77009b14b1 100644 --- a/testsuites/sptests/sp28/init.c +++ b/testsuites/sptests/sp28/init.c @@ -116,6 +116,13 @@ void test_errors(void) void *value; /* + * task variable add error status codes + */ + puts( "task variable add - NULL pointer - RTEMS_INVALID_ADDRESS" ); + sc = rtems_task_variable_get(RTEMS_SELF, NULL, NULL ); + fatal_directive_status( sc, RTEMS_INVALID_ADDRESS, "add NULL pointer" ); + + /* * task variable get error status codes */ puts( "task variable get - bad Id - RTEMS_INVALID_ID" ); |