Skip to content

Commit b633666

Browse files
dschovdye
authored andcommitted
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 b7523ea commit b633666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t0021-conversion.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
77

88
. ./test-lib.sh
99

10-
TEST_ROOT="$PWD"
11-
PATH=$TEST_ROOT$PATH_SEP$PATH
10+
TEST_ROOT="$(pwd)"
11+
PATH=$PWD$PATH_SEP$PATH
1212

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

0 commit comments

Comments
 (0)