strace/tests
Dmitry V. Levin 4176d533e0 fsmagic: sort array by value and use bsearch for faster lookup
* defs.h (xlat_search): New prototype.
* util.c (xlat_bsearch_compare, xlat_search): New functions.
* file.c (sprintfstype): Use xlat_search for fsmagic lookup.
* xlat/fsmagic.in: Sort by value and mark as not NULL-terminated.
* tests/statfs.c: New file.
* tests/statfs.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add statfs.
(statfs_CFLAGS): Define.
(TESTS): Add statfs.test.
* tests/.gitignore: Add statfs.
2014-09-22 00:31:06 +00:00
..
.gitignore fsmagic: sort array by value and use bsearch for faster lookup 2014-09-22 00:31:06 +00:00
count.test tests: robustify -w option test 2014-06-05 15:42:04 +00:00
detach-running.test tests: fix shell errors in detach tests 2014-08-11 17:22:38 +00:00
detach-sleeping.test tests: fix shell errors in detach tests 2014-08-11 17:22:38 +00:00
detach-stopped.test tests: skip detach-stopped.test when PTRACE_SEIZE doesn't work 2014-08-12 01:09:28 +00:00
getdents.awk getdents, getdents64: fix potential out-of-bounds read issues 2014-09-11 22:27:43 +00:00
getdents.test getdents, getdents64: fix potential out-of-bounds read issues 2014-09-11 22:27:43 +00:00
init.sh tests: parametrize "sleep 1" 2013-06-18 20:51:49 +00:00
Makefile.am fsmagic: sort array by value and use bsearch for faster lookup 2014-09-22 00:31:06 +00:00
net-accept-connect.c tests/net: fix portability issues 2013-05-08 14:03:38 +00:00
net-fd.test Decode file descriptors returned by accept and accept4 syscalls 2014-08-06 16:49:59 +00:00
net.test tests: rename all tests so that their names end in .test suffix 2014-02-02 16:49:41 +00:00
ptrace_setoptions.test tests: rename all tests so that their names end in .test suffix 2014-02-02 16:49:41 +00:00
qual_syscall.test tests: rename all tests so that their names end in .test suffix 2014-02-02 16:49:41 +00:00
run.sh tests: enhance timeout checks 2013-06-18 17:07:37 +00:00
scm_rights-fd.test tests: fix SCM_RIGHTS test for big-endian systems 2014-05-30 15:18:00 +00:00
scm_rights.c tests: fix SCM_RIGHTS test for big-endian systems 2014-05-30 15:18:00 +00:00
set_ptracer_any.c set_ptracer_any: add a little documentation 2014-08-11 17:19:17 +00:00
sigaction.awk sigaction test: support arches w/out SA_RESTORER and swapped args 2014-08-09 15:38:17 +00:00
sigaction.c Rewrite signal mask decoding without sigset_t 2014-02-27 00:28:39 +00:00
sigaction.test tests: rename all tests so that their names end in .test suffix 2014-02-02 16:49:41 +00:00
stack-fcall-0.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stack-fcall-1.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stack-fcall-2.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stack-fcall-3.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stack-fcall.c tests: robustify -k test 2014-06-18 15:18:47 +00:00
stat.test tests: rename all tests so that their names end in .test suffix 2014-02-02 16:49:41 +00:00
statfs.c fsmagic: sort array by value and use bsearch for faster lookup 2014-09-22 00:31:06 +00:00
statfs.test fsmagic: sort array by value and use bsearch for faster lookup 2014-09-22 00:31:06 +00:00
strace-f.test tests: rename all tests so that their names end in .test suffix 2014-02-02 16:49:41 +00:00
strace-k.test tests: enhance -k test 2014-06-13 15:58:01 +00:00
uio.c tests: fix uio building w/out preadv/pwritev 2014-08-11 17:30:01 +00:00
uio.test tests: fix uio building w/out preadv/pwritev 2014-08-11 17:30:01 +00:00