mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 18:47:20 +01:00
2eb42694487d49a9ff8973f0a9de7d21a55d9394
The path check piped git diff into grep -q under pipefail: on a match grep exits early, git diff can die of SIGPIPE, and the pipeline's failure read as "no match", so the tests were skipped exactly when they were needed. chunkstore-scope.sh writes the NUL-delimited list to a file and reads it to its end, as docs-only-scope.sh does; an error of the check runs the tests. Its self-test covers a match listed after 20000 other files, a deletion, a look-alike prefix and an unknown revision. Each filtered go test must PASS at least one test, so a filter that matches nothing fails instead of passing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.7%
Rust
7.7%
Shell
2.7%
templ
1.5%
Java
1%
Other
2.1%