changeset 51954:b6ce567d5bea

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
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 04 Oct 2024 11:22:30 -0400
parents fdb1971bf634
children b8528c8bebf5
files tests/test-racy-mutations.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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}"
   > ) &