summaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: do not use systemctl status --failedRonny Chevalier2014-06-102-2/+2
| | | | | since v212 calling systemctl status without arguments will show a overall system state
* test: add missing test unitsLennart Poettering2014-02-182-0/+12
|
* test: add basic seccomp testsRonny Chevalier2014-02-157-0/+122
|
* test: print the important commands to make debugging easierZbigniew Jędrzejewski-Szmek2014-02-151-3/+5
|
* test: make the image biggerZbigniew Jędrzejewski-Szmek2014-02-151-3/+3
| | | | | I got some errors about lack of disk space... 100MB either way shouldn't matter.
* test: wrap $LOOPDEV in quotesZbigniew Jędrzejewski-Szmek2013-12-101-5/+5
| | | | Otherwise things go awry if it is not set ('[ -b ]' is not the same as '[ -b "" ]'!).
* test: rework run_qemuRonny Chevalier2013-12-105-30/+78
| | | | | | | | | | | | | | | It tries to find a suitable QEMU binary and will use KVM if present. We can now configure QEMU from outside with 4 variables : - $QEMU_BIN : path to QEMU's binary - $KERNEL_APPEND : arguments appended to kernel cmdline - $KERNEL_BIN : path to a kernel Default /boot/vmlinuz-$KERNEL_VER - $INITRD : path to an initramfs Default /boot/initramfs-${KERNEL_VER}.img - $QEMU_SMP : number of CPU simulated by QEMU. Default 1 (from Alexander Graf's script: http://www.spinics.net/lists/kvm/msg72389.html)
* test: fix TEST-02-CRYPTSETUPRonny Chevalier2013-12-101-0/+1
| | | | | missing generate_module_dependencies call which prevents dm_mod and dm_crypt modules to be loaded
* cgroups: Cache controller masks and optimize queues.David Strauss2013-11-223-0/+20
|
* test: remove duplicated codeRonny Chevalier2013-11-074-527/+293
|
* TEST-03-JOBS/test.sh: do not output the "failed" if it does not existHarald Hoyer2013-09-171-4/+4
|
* TEST-01-BASIC, TEST-02-CRYPTSETUP: fixed stripHarald Hoyer2013-09-172-6/+6
| | | | also output more status about failed jobs
* test: add licence header and switch to LGPLKay Sievers2013-08-142-11/+23
| | | | Checked with and got OK from Martin.
* test: make it easier to override kernel versionZbigniew Jędrzejewski-Szmek2013-04-243-9/+3
|
* Fix spelling errors using 'codespell' toolAnatol Pomozov2013-04-151-1/+1
|
* test: test irreversible jobsMichal Schmidt2013-02-233-2/+21
|
* test: some trivial fixes to test scriptsZbigniew Jędrzejewski-Szmek2013-01-303-6/+6
| | | | | | | - fix typo - use compiled systemd-nspawn - drop --capability=... from systemd-nspawn invocation, is is the default now - simplify sudo make invocations
* update .gitignoreKay Sievers2013-01-281-0/+2
|
* test: add test for jobsMichal Schmidt2013-01-256-0/+295
| | | | | | | | Add a test case for job merging with --ignore-dependencies. test.sh is copied from TEST-01-*, only lightly modified (this should be refactored better in the future). test-jobs.sh is the core of this test.
* test: factor out testsuite.target, end.serviceMichal Schmidt2013-01-254-20/+20
| | | | | | Tests can use the same testsuite.target. Add end.service to call poweroff instead of doing it from ExecStopPost where it may be skipped on failure of ExecStart.
* test: use non-blocking systemctl calls in testsuite.serviceMichal Schmidt2013-01-252-2/+2
| | | | | "systemctl poweroff" called from testsuite.service will cause this unit itself to stop. To avoid deadlock, the call must not be synchronous.
* licence: remove references to old FSF addressSami Kerola2012-12-171-9/+9
| | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57206
* sched: Only setting CPUSchedulingPriority=rr doesn't workHolger Hans Peter Freyther2012-11-155-0/+35
| | | | | | | | | | | | | | | | | | | A service that only sets the scheduling policy to round-robin fails to be started. This is because the cpu_sched_priority is initialized to 0 and is not adjusted when the policy is changed. Clamp the cpu_sched_priority when the scheduler policy is set. Use the current policy to validate the new priority. Change the manual page to state that the given range only applies to the real-time scheduling policies. Add a testcase that verifies this change: $ make test-sched-prio; ./test-sched-prio [test/sched_idle_bad.service:6] CPU scheduling priority is out of range, ignoring: 1 [test/sched_rr_bad.service:7] CPU scheduling priority is out of range, ignoring: 0 [test/sched_rr_bad.service:8] CPU scheduling priority is out of range, ignoring: 100
* use the same email address everywhereKay Sievers2012-11-121-1/+1
|
* udev: fix rule-syntax-check.pyKay Sievers2012-10-091-1/+1
|
* udev: remove SYMLINK "unique" optionKay Sievers2012-10-081-9/+0
|
* test: split of cryptsetup into its own testLennart Poettering2012-09-134-35/+269
|
* man: fix a bunch of typos in docsThomas Hindoe Paaboel Andersen2012-09-131-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=54501
* udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /runKay Sievers2012-07-151-1/+1
|
* nspawn: introduce new --capabilities= flag and make use of it in the nspawn ↵Lennart Poettering2012-06-281-1/+1
| | | | test case
* test: reenable nspawn, even if it fails for nowLennart Poettering2012-06-281-2/+1
|
* test/README.testsuite: add documentation for the testsuiteHarald Hoyer2012-05-291-0/+35
|
* test/TEST-01-BASIC: add /var on cryptoluks and wait for the journalHarald Hoyer2012-05-292-40/+320
|
* test/test-functions: add check_qemu() and check_nspawn() functionsHarald Hoyer2012-05-291-10/+9
|
* test/TEST-01-BASIC: fail test, if qemu failedHarald Hoyer2012-05-291-1/+2
|
* test/TEST-01-BASIC: make DEBUGTOOLS an environment variableHarald Hoyer2012-05-291-4/+3
|
* test/test-functions: be more verbose about skipping testsHarald Hoyer2012-05-291-2/+15
|
* test/TEST-01-BASIC: add missing "; then"Harald Hoyer2012-05-241-1/+1
|
* test/TEST-01-BASIC: only test systemd-nspawn, if the test system uses systemdHarald Hoyer2012-05-241-1/+3
|
* test/TEST-01-BASIC: add systemd-nspawn run with the root imageHarald Hoyer2012-05-241-2/+24
|
* test/TEST-01-BASIC: untabifiedHarald Hoyer2012-05-241-39/+39
|
* test/TEST-01-BASIC: add a defined rc.localHarald Hoyer2012-05-241-1/+6
|
* test/TEST-01-BASIC: add /etc/localtime to test imageHarald Hoyer2012-05-241-6/+6
|
* test: add touch to test machineLennart Poettering2012-05-241-1/+1
|
* test: check systemctl --failed in test VMLennart Poettering2012-05-241-2/+5
|
* test: introduce a basic testsuite frameworkHarald Hoyer2012-05-224-1/+850
| | | | | | | | | | | | $ cd test $ sudo make check will run all tests in the TEST-* subdirectories $ cd test/TEST-01-BASIC $ sudo make clean setup run will run the different stages of the test for debugging purposes
* udev: remove configuration options for /dev, /sys, /run directoriesKay Sievers2012-04-161-50/+29
|
* udev: test - move test/ and src/test/Kay Sievers2012-04-145-0/+1640
|
* test: test tools should still be in the src/ directoryLennart Poettering2012-04-1212-1018/+0
|
* move a couple of test-*.c to test/Kay Sievers2012-04-1212-0/+1018
|