summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfatal01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-23 10:26:06 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-23 12:54:03 +0200
commit396f6442e149233163b3c29c66d3089fd4266b86 (patch)
treef26d6b8eea8c4cb551092138fda06fcce5817ce9 /testsuites/psxtests/psxfatal01
parentscore: _Thread_queue_Enqueue_with_handler() (diff)
downloadrtems-396f6442e149233163b3c29c66d3089fd4266b86.tar.bz2
psxtests/psxfatal0[12]: Update due to API changes
Diffstat (limited to 'testsuites/psxtests/psxfatal01')
-rw-r--r--testsuites/psxtests/psxfatal01/testcase.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxfatal01/testcase.h b/testsuites/psxtests/psxfatal01/testcase.h
index 731a31b43a..2426e7b413 100644
--- a/testsuites/psxtests/psxfatal01/testcase.h
+++ b/testsuites/psxtests/psxfatal01/testcase.h
@@ -4,6 +4,8 @@
#include <errno.h>
+#include <rtems/posix/posixapi.h>
+
/*
* Way too much stack space. Should generate a fatal error
* on the init task create.
@@ -26,8 +28,8 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = {
#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_IS_INTERNAL TRUE
-#define FATAL_ERROR_EXPECTED_ERROR EFAULT
+#define FATAL_ERROR_EXPECTED_IS_INTERNAL FALSE
+#define FATAL_ERROR_EXPECTED_ERROR ((POSIX_FD_PTHREAD << 8) | EFAULT)
void force_error(void)
{