8f54664d68f5f39098e448815fefe69762b4672a |
|
17-Mar-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
tests: factor out common shell code to functions Factor out shell code used in several tests to common functions. * tests/fanotify_mark.expected: New file. * tests/ioctl.expected: New file. * tests/net-fd.expected: New file. * tests/net.expected: New file. * tests/statfs.expected: New file. * tests/sun_path.expected: New file. * tests/uio.expected: New file. * tests/ipc.sh: New file. * tests/Makefile.am (EXTRA_DIST): Add them. * tests/init.sh (dump_log_and_fail_with, run_prog, run_prog_skip_if_failed, run_strace, run_strace_merge, match_awk, match_diff, match_grep): New functions. * tests/*.test: Use them.
/external/strace/tests/detach-sleeping.test
|
74697bd29bd27176821086f606983974e38a8ca4 |
|
14-Jan-2015 |
Dmitry V. Levin <ldv@altlinux.org> |
tests: skip detach tests if kill does not work * tests/detach-running.test: Skip if "kill -0" does not work. * tests/detach-sleeping.test: Likewise. * tests/detach-stopped.test: Likewise.
/external/strace/tests/detach-sleeping.test
|
3ec5c0492ccd011258cc11bedb8fa8bc291e918a |
|
23-Sep-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
tests: cleanup checks for basic programs * tests/init.sh: Check for cat and rm. * tests/getdents.test: Check for awk. * tests/ptrace_setoptions.test: Check for grep. * tests/net-fd.test: Do not check for rm. * tests/net.test: Likewise. * tests/scm_rights-fd.test: Likewise. * tests/stat.test: Likewise. * tests/uio.test: Likewise.
/external/strace/tests/detach-sleeping.test
|
2b5bfeb2a84b325e706c6b77f6fb012c2a7e69e8 |
|
11-Aug-2014 |
Mike Frysinger <vapier@gentoo.org> |
tests: fix shell errors in detach tests The current detach test code does: set -e ... cleanup() { set +e kill ... wait ... } ... cleanup exit 0 The problem is that while `set -e` is disabled for the body of the cleanup function, it isn't necessarily disabled in the caller scope. So if the return value of the cleanup function (`wait` in this case) is non-zero, the script ends up failing overall. Add an explicit return 0 to the cleanup function so that we don't kill the overall test pipeline. * tests/detach-running.test (cleanup): Add return 0. * tests/detach-sleeping.test (cleanup): Likewise. * tests/detach-stopped.test (cleanup): Likewise.
/external/strace/tests/detach-sleeping.test
|
123d401508a17403c9cafaa79a4bd771bce37c7e |
|
02-Feb-2014 |
Dmitry V. Levin <ldv@altlinux.org> |
tests: rename all tests so that their names end in .test suffix Due to automake limitations, some features work only for tests that end in one of the suffixes listed in TEST_EXTENSIONS. * tests/detach-running: Rename to detach-running.test. * tests/detach-sleeping: Rename to detach-sleeping.test. * tests/detach-stopped: Rename to detach-stopped.test. * tests/net: Rename to net.test. * tests/ptrace_setoptions: Rename to ptrace_setoptions.test. * tests/qual_syscall: Rename to qual_syscall.test. * tests/sigaction.sh: Rename to sigaction.test. * tests/stat: Rename to stat.test. * tests/strace-f: Rename to strace-f.test. * tests/Makefile.am (TESTS): Update. (LOG_COMPILER): Rename to TEST_LOG_COMPILER.
/external/strace/tests/detach-sleeping.test
|