diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-18 11:34:29 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-22 16:46:01 +0200 |
commit | 50ccf988c2a6116aef41885366141e0f8f96a95b (patch) | |
tree | 75390c60fc6f9d47b0f55a145cdf556602d9d96b /testsuites/smptests/smpunsupported01 | |
parent | sapi: Add rtems_configuration_is_smp_enabled() (diff) | |
download | rtems-50ccf988c2a6116aef41885366141e0f8f96a95b.tar.bz2 |
rtems: Error for task delete on SMP
Task deletion is currently not implemented on SMP configurations.
Diffstat (limited to 'testsuites/smptests/smpunsupported01')
-rw-r--r-- | testsuites/smptests/smpunsupported01/init.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/smptests/smpunsupported01/init.c b/testsuites/smptests/smpunsupported01/init.c index 0f1a1023a0..3724cd4058 100644 --- a/testsuites/smptests/smpunsupported01/init.c +++ b/testsuites/smptests/smpunsupported01/init.c @@ -20,7 +20,12 @@ static void test(void) { + rtems_status_code sc; + rtems_test_assert(rtems_configuration_is_smp_enabled()); + + sc = rtems_task_delete(RTEMS_SELF); + rtems_test_assert(sc == RTEMS_NOT_IMPLEMENTED); } static void Init(rtems_task_argument arg) |