mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
test: fix debugging of nspawn tests
The pipe stuff introduced in701e0c2660
causes nspawn to switch the console from 'interactive' into 'read-only' which is a bit useless when debugging. Let's set --console=interactive explicitly in such case. Follow-up to701e0c2660
.
This commit is contained in:
parent
337e8504f7
commit
5599c84bcd
@ -659,7 +659,9 @@ run_nspawn() {
|
||||
${TEST_MATCH_TESTCASE:+"systemd.setenv=TEST_MATCH_TESTCASE=$TEST_MATCH_TESTCASE"}
|
||||
)
|
||||
|
||||
if ! get_bool "$INTERACTIVE_DEBUG"; then
|
||||
if get_bool "$INTERACTIVE_DEBUG"; then
|
||||
nspawn_options+=("--console=interactive")
|
||||
else
|
||||
kernel_params+=("systemd.wants=end.service")
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user