diff options
author | Kevin Kirspel <kevin-kirspel@idexx.com> | 2017-03-21 15:39:48 -0400 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-03-22 11:55:04 +0100 |
commit | 1c6926c11f2e5efcb166c668b097d64a0321d66e (patch) | |
tree | 30683dcf11979f51273413aade68a3828d00da10 /testsuites/libtests/termios08 | |
parent | bsp/atsam: Fix DMA support of some drivers (diff) | |
download | rtems-1c6926c11f2e5efcb166c668b097d64a0321d66e.tar.bz2 |
termios: Synchronize with latest FreeBSD headers
Adding modified FreeBSD headers to synchronize RTEMS termios with
FreeBSD. Modify termios to support dedicated input and output baud for
termios structure. Updated BSPs to use dedicated input and output baud
in termios structure. Updated tools to use dedicated input and output
baud in termios structure. Updated termios testsuites to use dedicated
input and output baud in termios structure.
Close #2897.
Diffstat (limited to 'testsuites/libtests/termios08')
-rw-r--r-- | testsuites/libtests/termios08/termios08.scn | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/testsuites/libtests/termios08/termios08.scn b/testsuites/libtests/termios08/termios08.scn index a63612096b..469d537e0f 100644 --- a/testsuites/libtests/termios08/termios08.scn +++ b/testsuites/libtests/termios08/termios08.scn @@ -1 +1,18 @@ -XXX fill in with test output +*** BEGIN OF TEST TERMIOS 8 *** +open(/dev/test) - OK +Changing c_lflag to: non-canonical +Changing to polling - VMIN=0 VTIME=0 +read - 0 expected +Changing to half-second timeout - VMIN=0 VTIME=5 +read - 0 expected +Changing to half-second timeout - VMIN=5 VTIME=3 +Enqueue 2 characters +read - 2 expected +Changing to half-second timeout - VMIN=5 VTIME=3 +Enqueue 1 character +read - 1 expected +Enqueue 7 characters +read - 5 expected +read - 2 expected +close(/dev/test) - OK +*** END OF TEST TERMIOS 8 *** |