Changeset 396f644 in rtems


Ignore:
Timestamp:
Aug 23, 2013, 8:26:06 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
ec987ec0
Parents:
07332ae
git-author:
Sebastian Huber <sebastian.huber@…> (08/23/13 08:26:06)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/23/13 10:54:03)
Message:

psxtests/psxfatal0[12]: Update due to API changes

Location:
testsuites/psxtests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/psxfatal01/testcase.h

    r07332ae r396f644  
    44
    55#include <errno.h>
     6
     7#include <rtems/posix/posixapi.h>
    68
    79/*
     
    2729        "POSIX API Init thread create failure - NULL entry"
    2830#define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_POSIX_API
    29 #define FATAL_ERROR_EXPECTED_IS_INTERNAL TRUE
    30 #define FATAL_ERROR_EXPECTED_ERROR       EFAULT
     31#define FATAL_ERROR_EXPECTED_IS_INTERNAL FALSE
     32#define FATAL_ERROR_EXPECTED_ERROR       ((POSIX_FD_PTHREAD << 8) | EFAULT)
    3133
    3234void force_error(void)
  • testsuites/psxtests/psxfatal02/testcase.h

    r07332ae r396f644  
    55#include <errno.h>
    66#include <limits.h>
     7
     8#include <rtems/posix/posixapi.h>
    79
    810/*
     
    3234        "POSIX API Init thread create failure -- no memory for stack"
    3335#define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_POSIX_API
    34 #define FATAL_ERROR_EXPECTED_IS_INTERNAL TRUE
    35 #define FATAL_ERROR_EXPECTED_ERROR       EAGAIN
     36#define FATAL_ERROR_EXPECTED_IS_INTERNAL FALSE
     37#define FATAL_ERROR_EXPECTED_ERROR       ((POSIX_FD_PTHREAD << 8) | EAGAIN)
    3638
    3739void force_error(void)
Note: See TracChangeset for help on using the changeset viewer.