mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
test/README: fix advice for testsuite debugging
KERNEL_APPEND="systemd.unit=multi-user.target" is not very useful, because the machine will still shut down as soon as the tests succeeds or fails. But INTERACTIVE_DEBUG=1 works great, so let's simplify the instructions and recommend that.
This commit is contained in:
parent
e30b4c1357
commit
b13d59243b
|
@ -99,7 +99,7 @@ INTERACTIVE_DEBUG=1
|
|||
the test, etc.)
|
||||
|
||||
The kernel and initrd can be specified with $KERNEL_BIN and $INITRD. (Fedora's
|
||||
or Debian's default kernel path and initrd are used by default)
|
||||
or Debian's default kernel path and initrd are used by default.)
|
||||
|
||||
A script will try to find your qemu binary. If you want to specify a different
|
||||
one with $QEMU_BIN.
|
||||
|
@ -107,12 +107,12 @@ one with $QEMU_BIN.
|
|||
Debugging the qemu image
|
||||
========================
|
||||
|
||||
If you want to log in the testsuite virtual machine, you can specify additional
|
||||
kernel command line parameter with $KERNEL_APPEND and then log in as root.
|
||||
If you want to log in the testsuite virtual machine, use INTERACTIVE_DEBUG=1
|
||||
and log in as root:
|
||||
|
||||
$ sudo make -C test/TEST-01-BASIC KERNEL_APPEND="systemd.unit=multi-user.target" run
|
||||
$ sudo make -C test/TEST-01-BASIC INTERACTIVE_DEBUG=1 run
|
||||
|
||||
Root password is empty.
|
||||
The root password is empty.
|
||||
|
||||
Ubuntu CI
|
||||
=========
|
||||
|
|
Loading…
Reference in a new issue