summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-23 23:25:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-23 23:25:45 +0000
commit24a5a1452fc80d34bb7f5a48f782255f13b1e8d3 (patch)
treecd23df5c696195d394c1e87d86f88b9951e7a51a /testsuites/libtests
parent2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-24a5a1452fc80d34bb7f5a48f782255f13b1e8d3.tar.bz2
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* termios01/termios01.scn: Fix bug so existing test code for rtems_termios_baud_to_index() is executed.
Diffstat (limited to 'testsuites/libtests')
-rw-r--r--testsuites/libtests/ChangeLog5
-rw-r--r--testsuites/libtests/termios01/termios01.scn20
2 files changed, 25 insertions, 0 deletions
diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog
index 9d570aab81..e028f6feed 100644
--- a/testsuites/libtests/ChangeLog
+++ b/testsuites/libtests/ChangeLog
@@ -1,5 +1,10 @@
2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
+ * termios01/termios01.scn: Fix bug so existing test code for
+ rtems_termios_baud_to_index() is executed.
+
+2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
* block01/Makefile.am, block02/Makefile.am, block03/Makefile.am,
block04/Makefile.am, block05/Makefile.am, block06/Makefile.am,
block07/Makefile.am, block08/Makefile.am, block09/Makefile.am,
diff --git a/testsuites/libtests/termios01/termios01.scn b/testsuites/libtests/termios01/termios01.scn
index 4c010d842a..e6cbbead39 100644
--- a/testsuites/libtests/termios01/termios01.scn
+++ b/testsuites/libtests/termios01/termios01.scn
@@ -3,6 +3,26 @@
Test termios_baud2index...
termios_baud_to_index(-2) - NOT OK
termios_baud_to_index(572) - NOT OK
+termios_baud_to_index(B0) - OK
+termios_baud_to_index(B50) - OK
+termios_baud_to_index(B75) - OK
+termios_baud_to_index(B110) - OK
+termios_baud_to_index(B134) - OK
+termios_baud_to_index(B150) - OK
+termios_baud_to_index(B200) - OK
+termios_baud_to_index(B300) - OK
+termios_baud_to_index(B600) - OK
+termios_baud_to_index(B1200) - OK
+termios_baud_to_index(B1800) - OK
+termios_baud_to_index(B2400) - OK
+termios_baud_to_index(B4800) - OK
+termios_baud_to_index(B9600) - OK
+termios_baud_to_index(B19200) - OK
+termios_baud_to_index(B38400) - OK
+termios_baud_to_index(B57600) - OK
+termios_baud_to_index(B115200) - OK
+termios_baud_to_index(B230400) - OK
+termios_baud_to_index(B460800) - OK
Test termios_baud2number...
termios_baud_to_number(-2) - NOT OK