systemd/0125-test-Don-t-register-machines-with-machined-unless-we.patch
Jan Macku 1e3185a7aa systemd-257-5
Resolves: RHEL-71409
2025-02-03 14:56:43 +01:00

25 lines
1.1 KiB
Diff

From 9f5b0ea9337597f051c26fcc7ad793c71241c6e0 Mon Sep 17 00:00:00 2001
From: Daan De Meyer <daan.j.demeyer@gmail.com>
Date: Fri, 10 Jan 2025 14:29:58 +0100
Subject: [PATCH] test: Don't register machines with machined unless we're in
interactive mode
(cherry picked from commit 84b30442d257102a9a39122f9a537fa48fb0bfda)
---
test/integration-test-wrapper.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/integration-test-wrapper.py b/test/integration-test-wrapper.py
index 1c28cf3776..94904cfbc4 100755
--- a/test/integration-test-wrapper.py
+++ b/test/integration-test-wrapper.py
@@ -516,7 +516,7 @@ def main() -> None:
]
),
'--credential', f"journal.storage={'persistent' if sys.stderr.isatty() else args.storage}",
- *(['--runtime-build-sources=no'] if not sys.stderr.isatty() else []),
+ *(['--runtime-build-sources=no', '--register=no'] if not sys.stderr.isatty() else []),
'vm' if args.vm or os.getuid() != 0 or os.getenv('TEST_PREFER_QEMU', '0') == '1' else 'boot',
] # fmt: skip