History log of /systemd/test/TEST-01-BASIC/test.sh
Revision Date Author Comments Expand
cd949ee7348982d90fb8bdf4a37128928b82925f 25-Nov-2015 Evgeny Vereshchagin <evvers@ya.ru>

tests: don't run tests on incomplete setup

6f9d3b08cf3e50d3903282d2ce36244bb86c7b7c 19-Nov-2015 Daniel Mack <daniel@zonque.org>

test: 01-basic: mask some services that currently don't run in qemu

278d5115470919319c514ea37d7b14e3f7d0580b 19-Nov-2015 Evgeny Vereshchagin <evvers@ya.ru>

tests: fix ls: cannot access /var/tmp/systemd-test.*/journal/*/*.journal don't lose logs from the test machine too

5c404f1ab8e96efedb983806443ca982a1b2a372 10-Nov-2015 Evgeny Vereshchagin <evvers@ya.ru>

tests: various fixes * 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

d31e10967752dcc4ee3a8b16228f434c288b5a1b 10-Jun-2014 Ronny Chevalier <chevalier.ronny@gmail.com>

tests: do not use systemctl status --failed since v212 calling systemctl status without arguments will show a overall system state

c6a77179a4097df355f0f04b8f3260c76b5e515c 10-Dec-2013 Ronny Chevalier <chevalier.ronny@gmail.com>

test: rework run_qemu 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)

889a90422dd47284dffa32b9234a6e58991b000c 07-Nov-2013 Ronny Chevalier <chevalier.ronny@gmail.com>

test: remove duplicated code

07ba97757505ea94458ef32cdc45311fd6efc298 17-Sep-2013 Harald Hoyer <harald@redhat.com>

TEST-01-BASIC, TEST-02-CRYPTSETUP: fixed strip also output more status about failed jobs

fff87a35d9e26c0d4ea41273a963c0eb20e18da4 24-Apr-2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

test: make it easier to override kernel version

7bcd865d386d96caac83cb1c589fdb8f9ce3b081 30-Jan-2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>

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

c90feab4ff8bc23d88d4f9c67d9652ba189cb51b 25-Jan-2013 Michal Schmidt <mschmidt@redhat.com>

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.

e8a66f4af296dc1dd4879a1401eb42bf7b7aeb01 25-Jan-2013 Michal Schmidt <mschmidt@redhat.com>

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.

71dc3ed1d95dfe246004018c2ca85156fc73c146 13-Sep-2012 Lennart Poettering <lennart@poettering.net>

test: split of cryptsetup into its own test

5076f0ccfd36b67512d44fe355b80305ced7dcba 28-Jun-2012 Lennart Poettering <lennart@poettering.net>

nspawn: introduce new --capabilities= flag and make use of it in the nspawn test case

5fa594df8de6fed8e18146096a7b7d45b2187441 28-Jun-2012 Lennart Poettering <lennart@poettering.net>

test: reenable nspawn, even if it fails for now

0d6e798a784ef0ba6b95512e4453067b2f84a91a 29-May-2012 Harald Hoyer <harald@redhat.com>

test/TEST-01-BASIC: add /var on cryptoluks and wait for the journal

6ea4364c7b40d21464b5fc64d6c5506658eb9401 29-May-2012 Harald Hoyer <harald@redhat.com>

test/TEST-01-BASIC: fail test, if qemu failed

f7c05f7de6069ba8a2d61e77421ddd6c558f388e 29-May-2012 Harald Hoyer <harald@redhat.com>

test/TEST-01-BASIC: make DEBUGTOOLS an environment variable

bd2b15138e1e1da8bc21072cf585179985c902e1 24-May-2012 Harald Hoyer <harald@redhat.com>

test/TEST-01-BASIC: add missing "; then"

7b17d413b11bfbdb4442c87b1db25b37ed5162ac 24-May-2012 Harald Hoyer <harald@redhat.com>

test/TEST-01-BASIC: only test systemd-nspawn, if the test system uses systemd

d9890f4ed47c0d565915360d8bae3b7a1428f285 24-May-2012 Harald Hoyer <harald@redhat.com>

test/TEST-01-BASIC: add systemd-nspawn run with the root image

6b197f2a03fa03a2a853cf726d47be2ea4c623b6 24-May-2012 Harald Hoyer <harald@redhat.com>

test/TEST-01-BASIC: untabified

3d3035e80c7deab9b0bf7050228385664a022fe3 24-May-2012 Harald Hoyer <harald@redhat.com>

test/TEST-01-BASIC: add a defined rc.local

7c1856aacd4f5d41dc320860490afda18c4a7495 24-May-2012 Harald Hoyer <harald@redhat.com>

test/TEST-01-BASIC: add /etc/localtime to test image

680705351da905b6e797be61b51e6cba275b1ea5 24-May-2012 Lennart Poettering <lennart@poettering.net>

test: add touch to test machine

32d965851d8cbb39f8ee0eeaf76a89e8f5fc174f 24-May-2012 Lennart Poettering <lennart@poettering.net>

test: check systemctl --failed in test VM

898720b7e9cf3bdf7a93e435cbed5dd6942ecf9b 22-May-2012 Harald Hoyer <harald@redhat.com>

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