From 396f6442e149233163b3c29c66d3089fd4266b86 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 23 Aug 2013 10:26:06 +0200 Subject: psxtests/psxfatal0[12]: Update due to API changes --- testsuites/psxtests/psxfatal02/testcase.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxfatal02') diff --git a/testsuites/psxtests/psxfatal02/testcase.h b/testsuites/psxtests/psxfatal02/testcase.h index 411782945b..7c107154ae 100644 --- a/testsuites/psxtests/psxfatal02/testcase.h +++ b/testsuites/psxtests/psxfatal02/testcase.h @@ -5,6 +5,8 @@ #include #include +#include + /* * Way too much stack space. Should generate a fatal error * on the init task create. @@ -31,8 +33,8 @@ posix_initialization_threads_table POSIX_Initialization_threads[] = { #define FATAL_ERROR_DESCRIPTION \ "POSIX API Init thread create failure -- no memory for stack" #define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_POSIX_API -#define FATAL_ERROR_EXPECTED_IS_INTERNAL TRUE -#define FATAL_ERROR_EXPECTED_ERROR EAGAIN +#define FATAL_ERROR_EXPECTED_IS_INTERNAL FALSE +#define FATAL_ERROR_EXPECTED_ERROR ((POSIX_FD_PTHREAD << 8) | EAGAIN) void force_error(void) { -- cgit v1.2.3