Skip to content

Commit 03f6e54

Browse files
keszybzbluca
authored andcommitted
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. (cherry picked from commit b13d592) (cherry picked from commit 0227947)
1 parent a005816 commit 03f6e54

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/README.testsuite

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,20 +99,20 @@ INTERACTIVE_DEBUG=1
9999
the test, etc.)
100100

101101
The kernel and initrd can be specified with $KERNEL_BIN and $INITRD. (Fedora's
102-
or Debian's default kernel path and initrd are used by default)
102+
or Debian's default kernel path and initrd are used by default.)
103103

104104
A script will try to find your qemu binary. If you want to specify a different
105105
one with $QEMU_BIN.
106106

107107
Debugging the qemu image
108108
========================
109109

110-
If you want to log in the testsuite virtual machine, you can specify additional
111-
kernel command line parameter with $KERNEL_APPEND and then log in as root.
110+
If you want to log in the testsuite virtual machine, use INTERACTIVE_DEBUG=1
111+
and log in as root:
112112

113-
$ sudo make -C test/TEST-01-BASIC KERNEL_APPEND="systemd.unit=multi-user.target" run
113+
$ sudo make -C test/TEST-01-BASIC INTERACTIVE_DEBUG=1 run
114114

115-
Root password is empty.
115+
The root password is empty.
116116

117117
Ubuntu CI
118118
=========

0 commit comments

Comments
 (0)