summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfatal01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-12-22 09:13:08 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-01-08 09:00:53 +0100
commitfe100e16117c36c40e99a853d09cd8dcf98dbff0 (patch)
tree81eb8dd6469908a103e3ade1d378c3a24ff9781b /testsuites/psxtests/psxfatal01
parentbsp/qoriq: Use array for FMan modules (diff)
downloadrtems-fe100e16117c36c40e99a853d09cd8dcf98dbff0.tar.bz2
score: Add fatal errors for NULL entry init tasks
This simplifies the global construction. Update #2514.
Diffstat (limited to 'testsuites/psxtests/psxfatal01')
-rw-r--r--testsuites/psxtests/psxfatal01/testcase.h5
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)
{