tests: fix lock file path mangling in `test-racy-mutations.t` on Windows
I guess `$TESTTMP_FORWARD_SLASH` gets translated by MSYS. This was in the
`.foo_commit_out` file:
sh: C;C:\\MinGW\\msys\\1.0\\Users\\Matt\\AppData\\Local\\Temp\\hgtests.1qc8jmdl\\child2\\test-racy-mutations.t-skip-detection\\waitlock_editor.sh: $ENOENT
--- a/tests/test-racy-mutations.t Fri Oct 04 11:10:45 2024 -0400
+++ b/tests/test-racy-mutations.t Fri Oct 04 11:22:30 2024 -0400
@@ -59,7 +59,7 @@
> WAITLOCK_ANNOUNCE="${EDITOR_STARTED}" \
> WAITLOCK_FILE="${MISCHIEF_MANAGED}" \
> hg commit -qAm 'r1 (foo)' --edit foo \
- > --config ui.editor="sh $TESTTMP_FORWARD_SLASH/waitlock_editor.sh" \
+ > --config ui.editor="sh $TESTTMP/waitlock_editor.sh" \
> > .foo_commit_out 2>&1 ;\
> touch "${JOBS_FINISHED}"
> ) &