]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: Fix typing error in integration-test-wrapper.py
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 10 Apr 2025 18:38:49 +0000 (20:38 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 4 Aug 2025 18:52:06 +0000 (19:52 +0100)
(cherry picked from commit beecd4e3446c1159d85e148f12e1a58f6878c4f2)

test/integration-tests/integration-test-wrapper.py

index c5d7b55dd683d369e9154bf10a8a80a455c1601b..2d5654f45058aa15bcae333443a3c11e871b0626 100755 (executable)
@@ -631,7 +631,7 @@ def main() -> None:
     elif os.getenv('TEST_JOURNAL_USE_TMP', '0') == '1' and journal_file.exists():
         dst = args.meson_build_dir / f'test/journal/{name}.journal'
         dst.parent.mkdir(parents=True, exist_ok=True)
-        journal_file = shutil.move(journal_file, dst)
+        journal_file = Path(shutil.move(journal_file, dst))
 
     if shell or (result.returncode in (args.exit_code, 77) and not coredumps and not sanitizer):
         exit_code = 0 if shell or result.returncode == args.exit_code else 77