summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/termios/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/termios/init.c')
-rw-r--r--testsuites/libtests/termios/init.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/testsuites/libtests/termios/init.c b/testsuites/libtests/termios/init.c
index e425756f23..fcb586b5ea 100644
--- a/testsuites/libtests/termios/init.c
+++ b/testsuites/libtests/termios/init.c
@@ -36,6 +36,8 @@
#include <tmacros.h>
+const char rtems_test_name[] = "TERMIOS";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
void print_32bits(unsigned long bits, unsigned char size, char * names[]);
@@ -683,7 +685,7 @@ out:
if( tcsetattr( fileno( stdin ), TCSADRAIN, &old) < 0 )
perror("do_raw_input(): tcsetattr() failed: %s\n" );
- printf ("*** End of Raw input VMIN=%d VTIME=%d ***\n", vmin, vtime);
+ TEST_BEGIN();
}
@@ -731,7 +733,7 @@ Init (rtems_task_argument ignored)
char c ;
struct termios orig_termios, test_termios;
- puts( "\n\n*** TEST TERMIOS INPUT CAPABILITIES ***" );
+ TEST_BEGIN();
status = rtems_shell_wait_for_input(
STDIN_FILENO,
@@ -793,7 +795,7 @@ Init (rtems_task_argument ignored)
}
}
} else {
- puts( "*** END OF TEST TERMIOS INPUT CAPABILITIES ***" );
+ TEST_END();
rtems_test_exit( 0 );
}
@@ -805,6 +807,8 @@ Init (rtems_task_argument ignored)
#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MICROSECONDS_PER_TICK 1000