Skip to content

Commit a596313

Browse files
committed
t0021: use Windows path when appropriate
Since c6b0831 (docs: warn about possible '=' in clean/smudge filter process values, 2016-12-03), t0021 writes out a file with quotes in its name, and MSYS2's path conversion heuristics mistakes that to mean that we are not talking about a path here. Therefore, we need to use Windows paths, as the test-helper is a Win32 program that would otherwise have no idea where to look for the file. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 47190b9 commit a596313

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t0021-conversion.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
88
. ./test-lib.sh
99
. "$TEST_DIRECTORY"/lib-terminal.sh
1010

11-
TEST_ROOT="$PWD"
12-
PATH=$TEST_ROOT$PATH_SEP$PATH
11+
TEST_ROOT="$(pwd)"
12+
PATH=$PWD$PATH_SEP$PATH
1313

1414
write_script <<\EOF "$TEST_ROOT/rot13.sh"
1515
tr \

0 commit comments

Comments
 (0)