Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test): correctly scrub coq and coq/theories (ocaml#10657)
In `[^\s\f]*`, the `\` is interpreted literally, matching a backslash character. Instead we use `[:space:]` which corresponds to `\s`, but works in a `[]` context. In addition, we have to fix the pattern so that it only matches directories that end with `coq` or `coq/theories`, otherwise it replaces too many directories and `$TESTCASE_ROOT` gets eaten. This has the nice benefit of making the coq test suite work under nix, where `coq/theories` is installed elsewhere. Signed-off-by: Etienne Millon <me@emillon.org>
- Loading branch information