platform_bionic/tests
Elliott Hughes 5da96467a9 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
2017-12-14 09:46:50 -08:00
..
headers Test POSIX 1003.1 2016 chapter 13 "Headers". 2017-12-13 09:01:35 -08:00
libs Fix logic in loading dependencies crossing namespace boundaries 2017-12-10 22:04:55 +01:00
math_data
prebuilt-elf-files Remove libc++ dependency from prebuilt test-libs 2017-01-23 14:47:45 -08:00
__cxa_thread_atexit_test.cpp
alloca_test.cpp A few new bionic tests. 2017-12-07 15:44:20 -08:00
Android.bp Add trivial termios tests. 2017-12-14 09:46:50 -08:00
Android.build.mk
Android.build.prebuilt.mk
Android.mk Use -Werror in bionic/tests 2017-11-16 13:51:17 -08:00
arpa_inet_test.cpp
assert_test.cpp
async_safe_test.cpp Refactor BufferOutputStream. 2017-08-22 13:17:28 -07:00
atexit_test.cpp
BionicDeathTest.h Don't use PR_SET_DUMPABLE to prevent crash dumping in death tests. 2017-10-16 21:31:37 -07:00
buffer_tests.cpp
buffer_tests.h
bug_26110743_test.cpp Move scopeguard into android::base 2017-04-05 16:37:07 -07:00
byteswap_test.cpp A few new bionic tests. 2017-12-07 15:44:20 -08:00
cfi_test.cpp Extend cfi test to verify a range of target pointers. 2017-09-19 16:21:22 -07:00
complex_force_long_double_test.cpp Use __RENAME for long double functions. 2017-09-14 16:10:43 -07:00
complex_test.cpp Use __RENAME for long double functions. 2017-09-14 16:10:43 -07:00
ctype_test.cpp
dirent_test.cpp
dl_test.cpp Fix: dl#disable_ld_config_file 2017-11-28 13:37:03 +09:00
dlext_private.h greylist is no longer enabled by default. 2017-05-09 17:59:00 -07:00
dlext_test.cpp Fix logic in loading dependencies crossing namespace boundaries 2017-12-10 22:04:55 +01:00
dlfcn_symlink_support.cpp
dlfcn_symlink_support.h
dlfcn_test.cpp Add test checking library unload on dlclose 2017-11-07 10:51:59 +01:00
elf_test.cpp Restore ELF32_ST_INFO/ELF64_ST_INFO. 2017-04-30 22:56:10 -07:00
endian_test.cpp Add tests for <endian.h>. 2017-02-24 16:19:53 -08:00
errno_test.cpp Remove volatile from the __errno declaration. 2017-06-13 16:02:07 -07:00
error_test.cpp
eventfd_test.cpp
fcntl_test.cpp Don't try to link(2) in a test if we're not root. 2017-10-24 22:54:34 -07:00
fenv_test.cpp Fix arm/arm64 <fenv.h> to match current reality. 2017-11-03 16:46:32 -07:00
file-check-cxx
float_test.cpp Add tests for all C11 headers. 2017-08-29 15:32:18 -07:00
fortify_filecheck_diagnostics_test.cpp Rename the fortify compile-time diags test 2017-10-31 13:14:56 -07:00
fortify_test.cpp Add trivial test for __memrchr_chk. 2017-11-09 15:46:51 -08:00
fortify_test_main.cpp
ftw_test.cpp
getauxval_test.cpp
getcwd_test.cpp
glob_test.cpp Add <glob.h>. 2017-09-26 18:46:09 -07:00
grp_pwd_test.cpp Only use uids and gids for which we've allocated AIDs 2017-11-15 10:31:49 -08:00
gtest_globals.cpp Use libbase for realpath and dirname 2017-03-16 11:47:08 -07:00
gtest_globals.h
gtest_globals_cts.cpp
gtest_main.cpp Always wrap waitpid in TEMP_FAILURE_RETRY. 2017-11-28 12:55:19 -08:00
gtest_preinit_debuggerd.cpp Rename libdebuggerd_client to libdebuggerd_handler. 2017-01-17 15:11:46 -08:00
iconv_test.cpp Add an extra test for a POSIX iconv requirement. 2017-08-31 14:14:16 -07:00
ifaddrs_test.cpp
inttypes_test.cpp A few new bionic tests. 2017-12-07 15:44:20 -08:00
iso646_test.c Add tests for all C11 headers. 2017-08-29 15:32:18 -07:00
langinfo_test.cpp
leak_test.cpp Fix pthread_leak test flakiness. 2017-10-03 13:51:45 -07:00
libdl_test.cpp
libgen_basename_test.cpp
libgen_test.cpp
limits_test.cpp Fix WORD_BIT test. 2017-10-23 12:06:30 -07:00
link_test.cpp Make dl_iterate_phdr return correct name for first entry 2017-05-31 23:45:15 +00:00
linux_swab_test.cpp Add POSIX swab. 2017-10-18 13:34:32 -07:00
locale_test.cpp
malloc_test.cpp Update posix_memalign testing. 2017-06-15 14:18:08 -07:00
math_data_test.h
math_force_long_double_test.cpp Use __RENAME for long double functions. 2017-09-14 16:10:43 -07:00
math_test.cpp Test __fpclassify/__isinf/__isnan. 2017-11-01 22:17:26 -07:00
mntent_test.cpp
net_if_test.cpp
netdb_test.cpp Improve glibc compatibility of gethostby*_r functions. 2017-10-23 17:38:35 -07:00
netinet_ether_test.cpp
netinet_in_test.cpp Add tests for <endian.h>. 2017-02-24 16:19:53 -08:00
netinet_udp_test.cpp
nl_types_test.cpp
pthread_dlfcn_test.cpp
pthread_test.cpp A few new bionic tests. 2017-12-07 15:44:20 -08:00
pty_test.cpp Improve pty unit test to catch the bug more easily. 2017-11-21 18:04:15 -08:00
regex_test.cpp
resolv_test.cpp Add trivial tests for the <resolv.h> base64 functions. 2017-11-08 21:13:15 -08:00
run-on-host.sh Remove reference to obj/lib 2017-05-17 16:49:56 -07:00
sched_test.cpp Add some <sched.h> tests. 2017-08-02 09:01:42 -07:00
ScopedSignalHandler.h
scsi_sg_test.cpp Enable exporting the non-uapi scsi headers. 2017-05-25 19:17:55 -07:00
search_test.cpp Finish <search.h>. 2017-08-31 17:38:51 -07:00
semaphore_test.cpp
setjmp_test.cpp
signal_test.cpp Replace killpg. 2017-07-11 15:00:17 -07:00
spawn_test.cpp Fix posix_spawn signal defaulting. 2017-11-29 18:36:38 -08:00
sstream_test.cpp
stack_protector_test.cpp
stack_protector_test_helper.cpp
stack_unwinding_test.cpp Verify at least 2 frames out of signal handler. 2017-03-23 09:45:10 -07:00
stdalign_test.cpp Add tests for all C11 headers. 2017-08-29 15:32:18 -07:00
stdarg_test.cpp Add tests for all C11 headers. 2017-08-29 15:32:18 -07:00
stdatomic_test.cpp Fix compare_exchange_weak tests to allow spurious failure 2017-04-05 18:34:03 -07:00
stdbool_test.c Add tests for all C11 headers. 2017-08-29 15:32:18 -07:00
stdint_test.cpp
stdio_ext_test.cpp Finish <stdio_ext.h>. 2017-08-01 15:27:27 -07:00
stdio_nofortify_test.cpp
stdio_test.cpp More scanf cleanup. 2017-12-12 17:10:51 -08:00
stdlib_test.cpp A few new bionic tests. 2017-12-07 15:44:20 -08:00
stdnoreturn_test.cpp Add tests for all C11 headers. 2017-08-29 15:32:18 -07:00
string_nofortify_test.cpp
string_posix_strerror_r_test.cpp
string_test.cpp Add new memchr/strrchr tests. 2017-05-08 20:10:32 -07:00
strings_nofortify_test.cpp
strings_test.cpp
sys_epoll_test.cpp
sys_mman_test.cpp Always log errno when aborting. 2017-09-15 16:18:49 -07:00
sys_msg_test.cpp
sys_personality_test.cpp
sys_prctl_test.cpp
sys_procfs_test.cpp
sys_ptrace_test.cpp Remove timeout signal in ptrace test. 2017-11-29 11:05:57 -08:00
sys_quota_test.cpp
sys_random_test.cpp Require getrandom(2). 2017-09-29 09:01:01 -07:00
sys_resource_test.cpp
sys_select_test.cpp Make our fortify FD_ISSET const, and expose the fd_mask type. 2017-12-04 14:16:38 -08:00
sys_sem_test.cpp Make union semun usable. 2017-05-18 15:05:26 -07:00
sys_sendfile_test.cpp
sys_shm_test.cpp
sys_socket_test.cpp
sys_stat_test.cpp
sys_statvfs_test.cpp
sys_syscall_test.cpp
sys_sysinfo_test.cpp Relax flaky _SC_AVPHYS_PAGES check in sys_sysinfo_test 2017-05-25 14:27:37 -07:00
sys_sysmacros_test.cpp
sys_time_test.cpp
sys_timex_test.cpp
sys_ttydefaults_test.cpp Make <sys/ttydefaults.h> more usable. 2017-07-06 10:33:15 -07:00
sys_types_test.cpp
sys_uio_test.cpp
sys_vfs_test.cpp
sys_xattr_test.cpp
system_properties_test.cpp Allow read-only system properties to have arbitrary lengths 2017-10-10 15:52:25 -07:00
system_properties_test2.cpp Add __system_property_wait and return the serial in __system_property_read_callback. 2017-02-13 13:30:10 -08:00
TemporaryFile.h
termios_test.cpp Add trivial termios tests. 2017-12-14 09:46:50 -08:00
tgmath_test.c Add tests for all C11 headers. 2017-08-29 15:32:18 -07:00
thread_local_test.cpp
time_test.cpp Add a few missing <time.h> tests. 2017-12-07 16:05:57 -08:00
uchar_test.cpp Hide various mbstate implementation details. 2017-07-14 17:00:05 -07:00
unistd_nofortify_test.cpp
unistd_test.cpp Change ARG_MAX/_SC_ARG_MAX back to a constant. 2017-11-15 15:14:35 -08:00
utils.h Fix Mac build. 2017-11-28 18:02:16 -08:00
utmp_test.cpp
wchar_test.cpp Use have_dl to guard all tests that rely on icu4c. 2017-08-30 16:17:40 +00:00
wctype_test.cpp Use have_dl to guard all tests that rely on icu4c. 2017-08-30 16:17:40 +00:00