Commit graph

18 commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek 7bcd865d38 test: some trivial fixes to test scripts
- fix typo
- use compiled systemd-nspawn
- drop --capability=... from systemd-nspawn invocation, is is the default now
- simplify sudo make invocations
2013-01-29 19:01:41 -05:00
Michal Schmidt c90feab4ff test: factor out testsuite.target, end.service
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-25 22:29:56 +01:00
Michal Schmidt e8a66f4af2 test: use non-blocking systemctl calls in testsuite.service
"systemctl poweroff" called from testsuite.service will cause this unit
itself to stop. To avoid deadlock, the call must not be synchronous.
2013-01-25 22:29:55 +01:00
Lennart Poettering 71dc3ed1d9 test: split of cryptsetup into its own test 2012-09-13 23:19:05 +02:00
Lennart Poettering 5076f0ccfd nspawn: introduce new --capabilities= flag and make use of it in the nspawn test case 2012-06-28 14:05:16 +02:00
Lennart Poettering 5fa594df8d test: reenable nspawn, even if it fails for now 2012-06-28 12:18:04 +02:00
Harald Hoyer 0d6e798a78 test/TEST-01-BASIC: add /var on cryptoluks and wait for the journal 2012-05-29 09:23:37 +02:00
Harald Hoyer 6ea4364c7b test/TEST-01-BASIC: fail test, if qemu failed 2012-05-29 09:23:37 +02:00
Harald Hoyer f7c05f7de6 test/TEST-01-BASIC: make DEBUGTOOLS an environment variable 2012-05-29 09:23:31 +02:00
Harald Hoyer bd2b15138e test/TEST-01-BASIC: add missing "; then" 2012-05-24 16:07:35 +02:00
Harald Hoyer 7b17d413b1 test/TEST-01-BASIC: only test systemd-nspawn, if the test system uses systemd 2012-05-24 16:02:06 +02:00
Harald Hoyer d9890f4ed4 test/TEST-01-BASIC: add systemd-nspawn run with the root image 2012-05-24 15:52:31 +02:00
Harald Hoyer 6b197f2a03 test/TEST-01-BASIC: untabified 2012-05-24 15:33:58 +02:00
Harald Hoyer 3d3035e80c test/TEST-01-BASIC: add a defined rc.local 2012-05-24 15:32:51 +02:00
Harald Hoyer 7c1856aacd test/TEST-01-BASIC: add /etc/localtime to test image 2012-05-24 15:32:51 +02:00
Lennart Poettering 680705351d test: add touch to test machine 2012-05-24 15:21:43 +02:00
Lennart Poettering 32d965851d test: check systemctl --failed in test VM 2012-05-24 14:32:48 +02:00
Harald Hoyer 898720b7e9 test: introduce a basic testsuite framework
$ 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
2012-05-22 16:54:54 +02:00