Verify materialized fuser patch

This commit is contained in:
ms2k 2026-07-17 23:22:18 +09:00
commit 943c56eea8
2 changed files with 38 additions and 0 deletions

View file

@ -92,6 +92,15 @@ NETWORK_RUNTIME_TEST_COMMAND = (
"network-runtime",
"--locked",
)
FUSER_PATCH_TEST_COMMAND = (
"cargo",
"test",
"--offline",
"--locked",
"--manifest-path",
".lazaret/vendor/fuser-0.17.0/Cargo.toml",
"lock_request_preserves_kind_flags",
)
REQUIRED_TOOL_VERSIONS = (
("rustc", ("--version",), (0,), re.compile(r"^rustc 1\.97\.0 ")),
("cargo", ("--version",), (0,), re.compile(r"^cargo 1\.97\.0 ")),
@ -573,6 +582,7 @@ def refresh_advisories() -> None:
def run_rust_tests() -> None:
run(list(FUSER_PATCH_TEST_COMMAND))
run(list(NEXTEST_COMMAND))
run(list(ACQUISITION_TEST_COMMAND))
run(list(RECOVERY_PROCESS_TEST_COMMAND))

View file

@ -1,3 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
"$(dirname "$0")/materialize-fuser" --test-dependencies
exec uv run --python '>=3.11' --no-project --offline --no-python-downloads --no-cache python3 "$(dirname "$0")/lazaret_verify.py" "$@"