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/psxtests | |
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/psxtests')
-rw-r--r-- | testsuites/psxtests/psxfatal01/testcase.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxfatal01/testcase.h b/testsuites/psxtests/psxfatal01/testcase.h index 2426e7b413..b400fa6cfa 100644 --- a/testsuites/psxtests/psxfatal01/testcase.h +++ b/testsuites/psxtests/psxfatal01/testcase.h @@ -27,9 +27,10 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = { #define FATAL_ERROR_TEST_NAME "1" #define FATAL_ERROR_DESCRIPTION \ "POSIX API Init thread create failure - NULL entry" -#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_POSIX_API +#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_CORE #define FATAL_ERROR_EXPECTED_IS_INTERNAL FALSE -#define FATAL_ERROR_EXPECTED_ERROR ((POSIX_FD_PTHREAD << 8) | EFAULT) +#define FATAL_ERROR_EXPECTED_ERROR \ + INTERNAL_ERROR_POSIX_INIT_THREAD_ENTRY_IS_NULL void force_error(void) { |