diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-08-02 00:55:27 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-08-02 00:55:27 +0000 |
commit | 016a926defe59ea4d0483da43b59b9f347e97e59 (patch) | |
tree | 4c97fe8c7ea90a76d4f294ebfa13bf8b2d741e12 /c/src/tests/libtests/putenvtest | |
parent | 2002-08-01 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-016a926defe59ea4d0483da43b59b9f347e97e59.tar.bz2 |
2002-08-01 Joel Sherrill <joel@OARcorp.com>
* Per PR47 add support for buffered test output. This involved
adding defines to redirect output to a buffer and dump it when
full, at "test pause", and at exit. To avoid problems when redefining
exit(), all tests were modified to call rtems_test_exit().
Some tests, notable psxtests, had to be modified to include
the standard test macro .h file (pmacros.h or tmacros.h) to
enable this support.
* cpuuse/task2.c, malloctest/task1.c, putenvtest/init.c,
rtmonuse/task1.c, termios/init.c: Modified.
Diffstat (limited to 'c/src/tests/libtests/putenvtest')
-rw-r--r-- | c/src/tests/libtests/putenvtest/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/tests/libtests/putenvtest/init.c b/c/src/tests/libtests/putenvtest/init.c index 53530db941..15061265c2 100644 --- a/c/src/tests/libtests/putenvtest/init.c +++ b/c/src/tests/libtests/putenvtest/init.c @@ -57,5 +57,5 @@ rtems_task Init( printf ("getenv(\"FOO\") ==> \"%s\"\n", getenv ("FOO")); puts( "*** END OF PUTENV/GETENV TEST ***" ); - exit(0); + rtems_test_exit(0); } |