summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/ticker/tasks.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-10 19:31:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-10 19:31:36 +0000
commitdfc6f3dc11e534f2e71096eea3d846f8e0e0379c (patch)
tree1a97637968d62f416a041a7fa0793332765277eb /testsuites/samples/ticker/tasks.c
parent2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-dfc6f3dc11e534f2e71096eea3d846f8e0e0379c.tar.bz2
2007-05-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* ticker/Makefile.am, ticker/init.c, ticker/system.h, ticker/tasks.c: Test needs clock manager. Should use rtems_test_exit() instead of exit().
Diffstat (limited to 'testsuites/samples/ticker/tasks.c')
-rw-r--r--testsuites/samples/ticker/tasks.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuites/samples/ticker/tasks.c b/testsuites/samples/ticker/tasks.c
index e59557ed91..d9c3791185 100644
--- a/testsuites/samples/ticker/tasks.c
+++ b/testsuites/samples/ticker/tasks.c
@@ -18,8 +18,6 @@
*/
#include "system.h"
-#include <stdio.h>
-#include <stdlib.h>
rtems_task Test_task(
rtems_task_argument unused
@@ -36,7 +34,7 @@ rtems_task Test_task(
status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
if ( time.second >= 35 ) {
puts( "*** END OF CLOCK TICK TEST ***" );
- exit( 0 );
+ rtems_test_exit( 0 );
}
put_name( Task_name[ task_index ], FALSE );
print_time( " - rtems_clock_get - ", &time, "\n" );