diff options
Diffstat (limited to 'testsuites/sptests/spfatal16')
-rw-r--r-- | testsuites/sptests/spfatal16/spfatal16.doc | 19 | ||||
-rw-r--r-- | testsuites/sptests/spfatal16/spfatal16.scn | 3 | ||||
-rw-r--r-- | testsuites/sptests/spfatal16/testcase.h | 29 |
3 files changed, 0 insertions, 51 deletions
diff --git a/testsuites/sptests/spfatal16/spfatal16.doc b/testsuites/sptests/spfatal16/spfatal16.doc deleted file mode 100644 index f4b388b2c9..0000000000 --- a/testsuites/sptests/spfatal16/spfatal16.doc +++ /dev/null @@ -1,19 +0,0 @@ -# COPYRIGHT (c) 1989-2010. -# On-Line Applications Research Corporation (OAR). -# -# The license and distribution terms for this file may be -# found in the file LICENSE in this distribution or at -# http://www.rtems.org/license/LICENSE. -# - -This file describes the directives and concepts tested by this test set. - -test set name: spfatal16 - -directives: - - rtems_termios_open - -concepts: - -+ fatal error for one of the semaphore creates diff --git a/testsuites/sptests/spfatal16/spfatal16.scn b/testsuites/sptests/spfatal16/spfatal16.scn deleted file mode 100644 index 3fd27db533..0000000000 --- a/testsuites/sptests/spfatal16/spfatal16.scn +++ /dev/null @@ -1,3 +0,0 @@ -*** TEST FATAL 16 *** -Fatal error (termios sem create #1) hit -*** END OF TEST FATAL 16 *** diff --git a/testsuites/sptests/spfatal16/testcase.h b/testsuites/sptests/spfatal16/testcase.h deleted file mode 100644 index 412f20e04a..0000000000 --- a/testsuites/sptests/spfatal16/testcase.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * COPYRIGHT (c) 1989-2010. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -/* generate fatal errors in termios.c - * rtems_semaphore_create( rtems_build_name ('T', 'R', 'r', c),...); - */ - -#include <rtems/test.h> - -#define FATAL_ERROR_TEST_NAME "16" -#define FATAL_ERROR_DESCRIPTION "termios sem create #1" -#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_RTEMS_API -#define FATAL_ERROR_EXPECTED_ERROR RTEMS_TOO_MANY - -#define CONFIGURE_APPLICATION_PREREQUISITE_DRIVERS \ - CONSUME_SEMAPHORE_DRIVERS - -void force_error() -{ - /* This fatal error depends on the Termios device configuration */ - TEST_END(); - rtems_test_exit(0); -} |