summaryrefslogtreecommitdiff
path: root/test/TEST-01-BASIC/test.sh
AgeCommit message (Collapse)Author
2016-06-24test: merge check_nspawn() into run_nspawn()Martin Pitt
This makes nspawn tests symmetric with run_qemu() which also exits with 1 if QEMU is not available.
2016-05-08tree-wide: remove uses of --failedZbigniew Jędrzejewski-Szmek
It has been replaced by --state=failed.
2015-11-25tests: don't run tests on incomplete setupEvgeny Vereshchagin
2015-11-24Merge pull request #1957 from zonque/qemu-testLennart Poettering
test: make QEMU tests work on Semaphore
2015-11-19test: 01-basic: mask some services that currently don't run in qemuDaniel Mack
2015-11-19tests: fix ls: cannot access /var/tmp/systemd-test.*/journal/*/*.journalEvgeny Vereshchagin
don't lose logs from the test machine too
2015-11-10tests: various fixesEvgeny Vereshchagin
* remove journal flushing (systemd-journal-flush.service runs journalctl --flush on boot) * use sh -c and PATH instead of @SYSTEMCTL@ expansion * remove unnecessary semicolons etc
2014-06-10tests: do not use systemctl status --failedRonny Chevalier
since v212 calling systemctl status without arguments will show a overall system state
2013-12-10test: rework run_qemuRonny Chevalier
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)
2013-11-07test: remove duplicated codeRonny Chevalier
2013-09-17TEST-01-BASIC, TEST-02-CRYPTSETUP: fixed stripHarald Hoyer
also output more status about failed jobs
2013-04-24test: make it easier to override kernel versionZbigniew Jędrzejewski-Szmek
2013-01-29test: some trivial fixes to test scriptsZbigniew Jędrzejewski-Szmek
- fix typo - use compiled systemd-nspawn - drop --capability=... from systemd-nspawn invocation, is is the default now - simplify sudo make invocations
2013-01-25test: factor out testsuite.target, end.serviceMichal Schmidt
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.
2013-01-25test: use non-blocking systemctl calls in testsuite.serviceMichal Schmidt
"systemctl poweroff" called from testsuite.service will cause this unit itself to stop. To avoid deadlock, the call must not be synchronous.
2012-09-13test: split of cryptsetup into its own testLennart Poettering
2012-06-28nspawn: introduce new --capabilities= flag and make use of it in the nspawn ↵Lennart Poettering
test case
2012-06-28test: reenable nspawn, even if it fails for nowLennart Poettering
2012-05-29test/TEST-01-BASIC: add /var on cryptoluks and wait for the journalHarald Hoyer
2012-05-29test/TEST-01-BASIC: fail test, if qemu failedHarald Hoyer
2012-05-29test/TEST-01-BASIC: make DEBUGTOOLS an environment variableHarald Hoyer
2012-05-24test/TEST-01-BASIC: add missing "; then"Harald Hoyer
2012-05-24test/TEST-01-BASIC: only test systemd-nspawn, if the test system uses systemdHarald Hoyer
2012-05-24test/TEST-01-BASIC: add systemd-nspawn run with the root imageHarald Hoyer
2012-05-24test/TEST-01-BASIC: untabifiedHarald Hoyer
2012-05-24test/TEST-01-BASIC: add a defined rc.localHarald Hoyer
2012-05-24test/TEST-01-BASIC: add /etc/localtime to test imageHarald Hoyer
2012-05-24test: add touch to test machineLennart Poettering
2012-05-24test: check systemctl --failed in test VMLennart Poettering
2012-05-22test: introduce a basic testsuite frameworkHarald Hoyer
$ 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