summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-06-28 13:34:37 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-06-28 13:34:37 +0200
commit32f3617fd700e4a98b35f8c28a2807c2e51a2d9f (patch)
tree09f7bbb5ece675aca37b0bc6bd14da248e41581e /test
parentTEST-64-UDEV-STORAGE: Fix python 3.9 compatibility (diff)
downloadsystemd-32f3617fd700e4a98b35f8c28a2807c2e51a2d9f.tar.xz
systemd-32f3617fd700e4a98b35f8c28a2807c2e51a2d9f.zip
test: pull in multi-user.target explicitly
Let's make sure we pull in multi-user.target so that we get a console when a test fails and we're running meson test with --interactive.
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration-test-wrapper.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration-test-wrapper.py b/test/integration-test-wrapper.py
index 21ec00680f..743a14c3d8 100755
--- a/test/integration-test-wrapper.py
+++ b/test/integration-test-wrapper.py
@@ -103,6 +103,12 @@ def main():
journal_file = (args.meson_build_dir / (f"test/journal/{name}.journal")).absolute()
journal_file.unlink(missing_ok=True)
else:
+ dropin += textwrap.dedent(
+ """
+ [Unit]
+ Wants=multi-user.target
+ """
+ )
journal_file = None
cmd = [