Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 6fcf76f

Browse files
dschokasal
authored andcommitted
Disable t0110's high-bit test on Windows
The bash Git for Windows uses (i.e. the MSys bash) cannot pass command-line arguments with high bits set verbatim to non-MSys programs, but instead converts those characters with high bits set to their hex representation. For example, when running strings "$(echo -e '\x80')" (where strings.exe is a MinGW program, not an MSys one) it will complain about not finding the file called "80". Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 0d5cd60 commit 6fcf76f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t0110-urlmatch-normalization.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ test_expect_success 'url general escapes' '
117117
test "$(test-urlmatch-normalization -p "X://W?'\!'")" = "x://w/?'\!'"
118118
'
119119

120-
test_expect_success 'url high-bit escapes' '
120+
test_expect_success !MINGW 'url high-bit escapes' '
121121
test "$(test-urlmatch-normalization -p "$(cat "$tu-1")")" = "x://q/%01%02%03%04%05%06%07%08%0E%0F%10%11%12" &&
122122
test "$(test-urlmatch-normalization -p "$(cat "$tu-2")")" = "x://q/%13%14%15%16%17%18%19%1B%1C%1D%1E%1F%7F" &&
123123
test "$(test-urlmatch-normalization -p "$(cat "$tu-3")")" = "x://q/%80%81%82%83%84%85%86%87%88%89%8A%8B%8C%8D%8E%8F" &&

0 commit comments

Comments
 (0)