source: rtems/testsuites/sptests/spfatal18/testcase.h @ 420607f

4.115
Last change on this file since 420607f was 420607f, checked in by Joel Sherrill <joel.sherrill@…>, on 06/22/10 at 02:15:46

2010-06-21 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac: Add new tests to generate fatal errors in rtems_termios_open().
  • spfatal16/.cvsignore, spfatal16/Makefile.am, spfatal16/spfatal16.doc, spfatal16/spfatal16.scn, spfatal16/testcase.h, spfatal17/.cvsignore, spfatal17/Makefile.am, spfatal17/spfatal17.doc, spfatal17/spfatal17.scn, spfatal17/testcase.h, spfatal18/.cvsignore, spfatal18/Makefile.am, spfatal18/spfatal18.doc, spfatal18/spfatal18.scn, spfatal18/testcase.h, spfatal19/.cvsignore, spfatal19/Makefile.am, spfatal19/spfatal19.doc, spfatal19/spfatal19.scn, spfatal19/testcase.h: New files.
  • Property mode set to 100644
File size: 799 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.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12/* generate fatal errors in termios.c
13 *    rtems_semaphore_create( rtems_build_name ('T', 'R', 'o', c),...);
14 */
15
16#define FATAL_ERROR_TEST_NAME            "18"
17#define FATAL_ERROR_DESCRIPTION          "termios sem create #3"
18#define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_RTEMS_API
19#define FATAL_ERROR_EXPECTED_IS_INTERNAL FALSE
20#define FATAL_ERROR_EXPECTED_ERROR       RTEMS_TOO_MANY
21
22#define CONFIGURE_APPLICATION_PREREQUISITE_DRIVERS \
23  CONSUME_SEMAPHORE_DRIVERS
24
25void force_error()
26{
27  /* we will not run this far */
28}
Note: See TracBrowser for help on using the repository browser.