summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2018-07-20 11:00:57 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2018-07-20 16:08:58 +0200
commit7bc118043749d3a533e16b45269446a1edbd09d8 (patch)
tree11a130efc80150f97f7948a3197069a7894bb769
parentdb2ac90eaf45f995608cf97bb1b2f811a143477e (diff)
downloadcurl-7bc118043749d3a533e16b45269446a1edbd09d8.tar.gz
test1143: disable MSYS2's POSIX path conversion
By default, the MSYS2 bash interprets http:/%HOSTIP:%HTTPPORT/want/1143 as a POSIX file list and converts it to a Windows file list. Disable this with MSYS2_ARG_CONV_EXCL for the test to pass. Ref https://github.com/msys2/msys2/wiki/Porting#filesystem-namespaces Closes https://github.com/curl/curl/pull/2765
-rw-r--r--tests/data/test11435
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/data/test1143 b/tests/data/test1143
index 4f2f4435a..7776cfa87 100644
--- a/tests/data/test1143
+++ b/tests/data/test1143
@@ -28,6 +28,11 @@ HTTP URL with http:/ (one slash!)
<command>
http:/%HOSTIP:%HTTPPORT/want/1143
</command>
+<setenv>
+# Needed for MSYS2 to not treat the argument as a POSIX path list
+# that has to be converted to Windows paths
+MSYS2_ARG_CONV_EXCL=http:/
+</setenv>
</client>
# Verify data after the test has been "shot"