summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* tests: raise strace check timeout to 60 secondsDmitry V. Levin2012-05-01
| | | | | | | | * tests/init.sh (check_timeout): New variable. * tests/ptrace_setoptions: Use it. * tests/strace-f: Likewise. Reported-by: Mike Frysinger <vapier@gentoo.org>
* tests: robustify again buggy shellsDmitry V. Levin2012-03-15
| | | | | | | * tests/init.sh (check_strace): Use "${parameter:-word}" shell syntax instead of "${parameter-word}". Reported-by: Mike Frysinger <vapier@gentoo.org>
* tests: finish ptrace_setoptions_* mergeDmitry V. Levin2011-06-21
| | | | | * tests/Makefile.am (TESTS): Merge ptrace_setoptions_*. * tests/ptrace_setoptions: Check for Linux kernel > 2.6.
* Fix tests/ptrace_setoptions_* to match last fix in ptrace options codeDenys Vlasenko2011-06-21
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Add test for PTRACE_O_TRACESYSGOODDmitry V. Levin2011-06-09
| | | | | * tests/ptrace_setoptions_for_all: New file. * tests/Makefile.am (TESTS): Add ptrace_setoptions_for_all.
* tests: update test for linux kernel versionDmitry V. Levin2011-06-09
| | | | * tests/ptrace_setoptions_followfork: Check for Linux kernel > 2.6.
* Update ptrace_setoptions testDmitry V. Levin2011-06-09
| | | | | | | | | The test have to be adjusted after commit v4.6-5-g3454e4b. * ptrace_setoptions: Update grep pattern, rename to ptrace_setoptions_followfork. * tests/Makefile.am (TESTS): Rename ptrace_setoptions to ptrace_setoptions_followfork.
* tests: avoid SIGPIPEDmitry V. Levin2011-03-03
| | | | | | | * tests/ptrace_setoptions: Replace "grep -q" with "grep > /dev/null". The former may result to strace being killed by SIGPIPE, which in certain configuratons may lead to generation of a core file. Suggested by Mike Frysinger.
* tests: do not make missing /usr/bin/time a failureMike Frysinger2011-03-01
| | | | | | | * tests/init.sh (framework_skip_): New function. (check_prog): Use it instead of framework_failure_. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Implement two basic "strace -f" testsDmitry V. Levin2011-02-27
* Makefile.am (SUBDIRS): Add tests. * configure.ac (AC_CONFIG_FILES): Add tests/Makefile. * tests/.gitignore: New file. * tests/Makefile.am: Likewise. * tests/init.sh: Likewise. * tests/ptrace_setoptions: Likewise. * tests/strace-f: Likewise.