Add trivial termios tests.
...and fix the bugs.
Also explain why we can't support separate input and output speeds
without an ABI change. Luckily no-one is likely to need that anyway,
and they can always work around it by using `struct termios2` directly
themselves.
Bug: http://b/69816452
Test: ran tests
Change-Id: Ie08499a198bb6a20d7e5e2f5ff74a60bd53e97e1
diff --git a/tests/Android.bp b/tests/Android.bp
index 7f69cb1..51a721a 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -155,6 +155,7 @@
"sys_xattr_test.cpp",
"system_properties_test.cpp",
"system_properties_test2.cpp",
+ "termios_test.cpp",
"tgmath_test.c",
"time_test.cpp",
"uchar_test.cpp",