Skip to content

Commit e3a95d8

Browse files
dschoGit for Windows Build Agent
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 4ccb11c commit e3a95d8

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
@@ -4,8 +4,8 @@ test_description='blob conversion via gitattributes'
44

55
. ./test-lib.sh
66

7-
TEST_ROOT="$PWD"
8-
PATH=$TEST_ROOT$PATH_SEP$PATH
7+
TEST_ROOT="$(pwd)"
8+
PATH=$PWD$PATH_SEP$PATH
99

1010
write_script <<\EOF "$TEST_ROOT/rot13.sh"
1111
tr \

0 commit comments

Comments
 (0)