1 The extended testsuite only works with uid=0. It contains of several
2 subdirectories named "test/TEST-??-*", which are run one by one.
4 To run the extended testsuite do the following:
8 $ sudo make clean check
10 make[1]: Entering directory `/mnt/data/harald/git/systemd/test/TEST-01-BASIC'
13 Making all in docs/libudev
14 Making all in docs/gudev
15 TEST: Basic systemd setup [OK]
16 make[1]: Leaving directory `/mnt/data/harald/git/systemd/test/TEST-01-BASIC'
19 If one of the tests fails, then $subdir/test.log contains the log file of
22 To debug a special testcase of the testsuite do:
25 $ cd test/TEST-01-BASIC
26 $ sudo make clean setup run
31 If you want to log in the testsuite virtual machine, you can specify
32 additional kernel command line parameter with $KERNEL_APPEND.
34 $ sudo make KERNEL_APPEND="systemd.unit=multi-user.target" clean setup run
36 you can even skip the "clean" and "setup" if you want to run the machine again.
38 $ sudo make KERNEL_APPEND="systemd.unit=multi-user.target" run
40 You can specify a different kernel and initramfs with $KERNEL_BIN and $INITRD.
41 (Fedora's default kernel path and initramfs are used by default)
43 $ sudo make KERNEL_BIN=/boot/vmlinuz-foo INITRD=/boot/initramfs-bar clean check
45 A script will try to find your QEMU binary. If you want to specify a different
46 one you can use $QEMU_BIN.
48 $ sudo make QEMU_BIN=/path/to/qemu/qemu-kvm clean check