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=0f96b984a95c434dcf28e571176fa8576e41b801;hb=f58ceb21e9cdc4b79586283743351750ae35c175;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/test/README.testsuite b/test/README.testsuite index 0f96b984a..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 sh -c 'DEBUGFAIL="systemd.unit=multi-user.target" make 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 sh -c 'DEBUGFAIL="systemd.unit=multi-user.target" make 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