test: Fix typing error in integration-test-wrapper.py

This commit is contained in:
Daan De Meyer
2025-04-10 20:38:49 +02:00
committed by Yu Watanabe
parent 1df41e6a38
commit beecd4e344

View File

@@ -629,7 +629,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(0 if shell or result.returncode == args.exit_code else 77)