aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test
Commit message (Collapse)AuthorAgeFilesLines
...
* sys/test/test: add tests for test exiting in the middle of executionDmitry Vyukov2019-01-312-0/+6
|
* sys/linux/test: fix constraints in ipc testDmitry Vyukov2019-01-311-0/+2
|
* executor: restrict ipc resource usageDmitry Vyukov2018-12-261-0/+5
| | | | | For context see: https://groups.google.com/d/msg/syzkaller-bugs/ZaBzAJbn6i8/Py9FVlAqDQAJ
* sys/linux: extend AX25/ROSE/NETROM descriptionsDmitry Vyukov2018-12-241-0/+2
|
* sys/linux: add basic tipc testDmitry Vyukov2018-12-121-0/+3
|
* prog: support AUTO args in programsDmitry Vyukov2018-12-105-33/+33
| | | | | | | | | | | | | | | AUTO arguments can be used for: - consts - lens - pointers For const's and len's AUTO is replaced with the natural value, addresses for AUTO pointers are allocated linearly. This greatly simplifies writing test programs by hand as most of the time we want these natural values. Update tests to use AUTO.
* executor: fix cgroupsDmitry Vyukov2018-08-091-0/+15
| | | | | | | 1. Create per-proc cgroup in executor. 2. Setup cgroups after chdir into test dir (it assumes relative paths against test dir). 3. Add test.
* executor: mount binfmt_mistDmitry Vyukov2018-08-091-0/+16
| | | | | | We forgot to mount binfmt_misc. Mount it. Add a test. Increase per-call timeout, otherwise last execve timesout. Fix csource waiting for call completion at the end of program.
* executor: clean up immutable dirsDmitry Vyukov2018-08-091-0/+3
| | | | | | Turns out dirs can be immutable too. Update #650
* executor: clean up immutable filesDmitry Vyukov2018-08-081-0/+7
| | | | Fixes #650
* pkg/runtest: assorted improvementsDmitry Vyukov2018-08-081-3/+4
| | | | | | | | Support checking "blocked"/"unfinished" flags for calls. Support test constanints, e.g. "requires: threaded" or "requires: -sandbox=setuid". Some improvements in tools/syz-runtest. Update #603
* executor: abort fuse connectionDmitry Vyukov2018-08-041-7/+6
| | | | | | | If the test process is not dying after 100ms, abort all fuse connections in the system. This gets rid at least of simple fuse deadlocks, let's see how well this works in all cases.
* tools/syz-runtest: add tool for program unit testingDmitry Vyukov2018-08-034-0/+25
The tool is run as: $ syz-runtest -config manager.config This runs all programs from sys/*/test/* in different modes on actual VMs and checks results. Fixes #603