From: Daan De Meyer Date: Thu, 10 Apr 2025 18:38:49 +0000 (+0200) Subject: test: Fix typing error in integration-test-wrapper.py X-Git-Tag: v257.8~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b53006a2f182ef2f9aacea8bf99b3c602d14970;p=thirdparty%2Fsystemd.git test: Fix typing error in integration-test-wrapper.py (cherry picked from commit beecd4e3446c1159d85e148f12e1a58f6878c4f2) --- diff --git a/test/integration-tests/integration-test-wrapper.py b/test/integration-tests/integration-test-wrapper.py index c5d7b55dd68..2d5654f4505 100755 --- a/test/integration-tests/integration-test-wrapper.py +++ b/test/integration-tests/integration-test-wrapper.py @@ -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