source: rtems/testsuites/sptests/spfatal14/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: 812 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
18#define FATAL_ERROR_TEST_NAME            "14"
19#define FATAL_ERROR_DESCRIPTION          "fail to open stdout"
20#define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_CORE
21#define FATAL_ERROR_EXPECTED_ERROR       INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED
22
23#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 1
24
25static void force_error(void)
26{
27  /* we will not run this far */
28}
29
30#include "../spfatal_support/spfatalimpl.h"
Note: See TracBrowser for help on using the repository browser.