diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-12-22 09:13:08 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-08 09:00:53 +0100 |
commit | fe100e16117c36c40e99a853d09cd8dcf98dbff0 (patch) | |
tree | 81eb8dd6469908a103e3ade1d378c3a24ff9781b /testsuites/sptests/spinternalerror02/init.c | |
parent | bsp/qoriq: Use array for FMan modules (diff) | |
download | rtems-fe100e16117c36c40e99a853d09cd8dcf98dbff0.tar.bz2 |
score: Add fatal errors for NULL entry init tasks
This simplifies the global construction.
Update #2514.
Diffstat (limited to 'testsuites/sptests/spinternalerror02/init.c')
-rw-r--r-- | testsuites/sptests/spinternalerror02/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/sptests/spinternalerror02/init.c b/testsuites/sptests/spinternalerror02/init.c index 5d1d26f67b..cbc81a54f4 100644 --- a/testsuites/sptests/spinternalerror02/init.c +++ b/testsuites/sptests/spinternalerror02/init.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2014 embedded brains GmbH. All rights reserved. + * Copyright (c) 2012-2015 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Donierstr. 4 @@ -35,7 +35,9 @@ static void test_internal_error_text(void) puts( text ); } while ( text != text_last ); - rtems_test_assert( error - 3 == INTERNAL_ERROR_RESOURCE_IN_USE ); + rtems_test_assert( + error - 3 == INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL + ); } static void test_fatal_source_text(void) |