]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/integration-test-wrapper.py
test: Don't persist journal in mkosi image if we're not debugging tests
[thirdparty/systemd.git] / test / integration-test-wrapper.py
index 2d2fba25ebb4dd9b09b1029a47dcaf4707936a95..1e003342df91a6d2fe78ff68d336860bf8e82b61 100755 (executable)
@@ -110,6 +110,7 @@ def main():
             f"SYSTEMD_UNIT_PATH=/usr/lib/systemd/tests/testdata/testsuite-{args.test_number}.units:/usr/lib/systemd/tests/testdata/units:",
             f"systemd.unit={test_unit}",
         ]),
+        '--credential', f"journal.storage={'persistent' if sys.stderr.isatty() else 'runtime'}" ,
         *args.mkosi_args,
         'qemu',
         *(['-no-reboot'] if not sys.stderr.isatty() else [])