source: rtems/testsuites/sptests/spfatal15/testcase.h @ e203b65e

5
Last change on this file since e203b65e was e203b65e, checked in by Sebastian Huber <sebastian.huber@…>, on 12/09/16 at 08:28:31

Add INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED

Update #2825.

  • Property mode set to 100644
File size: 665 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2010.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.org/license/LICENSE.
8 */
9
10/* generate fatal errors in open_dev_console.c */
11#define FATAL_ERROR_TEST_NAME            "15"
12#define FATAL_ERROR_DESCRIPTION          "fail to open stderr"
13#define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_CORE
14#define FATAL_ERROR_EXPECTED_ERROR       INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED
15
16#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 2
17
18void force_error()
19{
20  /* we will not run this far */
21}
Note: See TracBrowser for help on using the repository browser.