X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=test%2FREADME.testsuite;h=2ae85a2ce1d9abd78e7a1c1b4e416d693f85591c;hp=54d0eaac502239ed06140d38f97d3acd5b34c8f8;hb=c2142cf1d1276f4f220bdd9af4ff7a716cc7a305;hpb=7bcd865d386d96caac83cb1c589fdb8f9ce3b081 diff --git a/test/README.testsuite b/test/README.testsuite index 54d0eaac5..2ae85a2ce 100644 --- a/test/README.testsuite +++ b/test/README.testsuite @@ -25,11 +25,24 @@ $ make all $ cd test/TEST-01-BASIC $ sudo make clean setup run +QEMU +==== + If you want to log in the testsuite virtual machine, you can specify -additional kernel command line parameter with $DEBUGFAIL. +additional kernel command line parameter with $KERNEL_APPEND. -$ sudo make DEBUGFAIL="systemd.unit=multi-user.target" clean setup run +$ sudo make KERNEL_APPEND="systemd.unit=multi-user.target" clean setup run you can even skip the "clean" and "setup" if you want to run the machine again. -$ sudo make DEBUGFAIL="systemd.unit=multi-user.target" run +$ sudo make KERNEL_APPEND="systemd.unit=multi-user.target" run + +You can specify a different kernel and initramfs with $KERNEL_BIN and $INITRD. +(Fedora's default kernel path and initramfs are used by default) + +$ sudo make KERNEL_BIN=/boot/vmlinuz-foo INITRD=/boot/initramfs-bar clean check + +A script will try to find your QEMU binary. If you want to specify a different +one you can use $QEMU_BIN. + +$ sudo make QEMU_BIN=/path/to/qemu/qemu-kvm clean check