diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-07 09:03:34 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-07 09:03:34 +0000 |
commit | 6091bc3a0edde9bf45928d19c8d00cd3e1b1b62a (patch) | |
tree | 0426f935e0794ef6f392d6c9e677c5899e72646c /testsuites/sptests/spfatal03 | |
parent | 2010-07-06 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-6091bc3a0edde9bf45928d19c8d00cd3e1b1b62a.tar.bz2 |
2010-07-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* spfatal09/.cvsignore, spfatal09/Makefile.am,
spfatal09/spfatal09.doc, spfatal09/spfatal09.scn,
spfatal09/testcase.h: Removed files.
* Makefile.am, configure.ac: Reflect changes above.
* spfatal_support/init.c: Print end of test message in case of
success. Stop multitasking in the fatal error extension.
* spfatal03/testcase.h, spfatal07/testcase.h: Use printk() instead of
puts().
* spfatal01/spfatal01.scn, spfatal02/spfatal02.scn,
spfatal03/spfatal03.scn, spfatal04/spfatal04.scn,
spfatal05/spfatal05.scn, spfatal06/spfatal06.scn,
spfatal07/spfatal07.scn, spfatal08/spfatal08.scn,
spfatal10/spfatal10.scn, spfatal11/spfatal11.scn,
spfatal12/spfatal12.scn, spfatal13/spfatal13.scn,
spfatal14/spfatal14.scn, spfatal15/spfatal15.scn,
spfatal16/spfatal16.scn, spfatal17/spfatal17.scn,
spfatal18/spfatal18.scn, spfatal19/spfatal19.scn,
spfatal20/spfatal20.scn: Update.
Diffstat (limited to 'testsuites/sptests/spfatal03')
-rw-r--r-- | testsuites/sptests/spfatal03/spfatal03.scn | 2 | ||||
-rw-r--r-- | testsuites/sptests/spfatal03/testcase.h | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/testsuites/sptests/spfatal03/spfatal03.scn b/testsuites/sptests/spfatal03/spfatal03.scn index d00d5d8d32..10ca3c07a0 100644 --- a/testsuites/sptests/spfatal03/spfatal03.scn +++ b/testsuites/sptests/spfatal03/spfatal03.scn @@ -1,3 +1,5 @@ *** TEST FATAL 3 *** Create semaphore S0 Obtain semaphore in dispatching critical section +Fatal error (Core Mutex obtain in critical section) hit +*** END OF TEST *** diff --git a/testsuites/sptests/spfatal03/testcase.h b/testsuites/sptests/spfatal03/testcase.h index ddb3577b85..58e3f51b09 100644 --- a/testsuites/sptests/spfatal03/testcase.h +++ b/testsuites/sptests/spfatal03/testcase.h @@ -36,15 +36,15 @@ void force_error(void) &mutex ); directive_failed( status, "rtems_semaphore_create of S0"); - puts("Create semaphore S0"); + printk("Create semaphore S0\n"); - puts("Obtain semaphore in dispatching critical section"); + printk("Obtain semaphore in dispatching critical section\n"); _Thread_Disable_dispatch(); status = rtems_semaphore_obtain( mutex, RTEMS_DEFAULT_OPTIONS, 0 ); /* !!! SHOULD NOT RETURN FROM THE ABOVE CALL */ _Thread_Enable_dispatch(); - puts("ERROR -- Obtain semaphore should not have returned"); + printk("ERROR -- Obtain semaphore should not have returned\n"); /* we will not run this far */ } |