1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-21 13:34:21 +03:00

integration-test-wrapper: Remove unneeded format strings

(cherry picked from commit 6d2fd490cf)
This commit is contained in:
Daan De Meyer 2024-11-22 22:37:34 +01:00 committed by Luca Boccassi
parent 99fdc0ab68
commit e0b6838bc2

View File

@ -70,7 +70,7 @@ def main():
shell = bool(int(os.getenv("TEST_SHELL", "0"))) shell = bool(int(os.getenv("TEST_SHELL", "0")))
if shell and not sys.stderr.isatty(): if shell and not sys.stderr.isatty():
print(f"--interactive must be passed to meson test to use TEST_SHELL=1", file=sys.stderr) print("--interactive must be passed to meson test to use TEST_SHELL=1", file=sys.stderr)
exit(1) exit(1)
name = args.name + (f"-{i}" if (i := os.getenv("MESON_TEST_ITERATION")) else "") name = args.name + (f"-{i}" if (i := os.getenv("MESON_TEST_ITERATION")) else "")
@ -84,7 +84,7 @@ def main():
if not shell: if not shell:
dropin += textwrap.dedent( dropin += textwrap.dedent(
f""" """
[Unit] [Unit]
SuccessAction=exit SuccessAction=exit
SuccessActionExitStatus=123 SuccessActionExitStatus=123