# HG changeset patch # User Matt Harbison # Date 1728055350 14400 # Node ID b6ce567d5bea22c91d4e23c4c354155a3ec058a5 # Parent fdb1971bf6348beeb672722399c7aab27e69d2cd 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 diff -r fdb1971bf634 -r b6ce567d5bea tests/test-racy-mutations.t --- 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}" > ) &