source: rtems/testsuites/sptests/spfatal15/init.c @ 1a48cbf

5
Last change on this file since 1a48cbf was 1a48cbf, checked in by Sebastian Huber <sebastian.huber@…>, on 11/11/19 at 19:08:46

sptests: Avoid include path magic

Update #3818.

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