]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test1143: disable MSYS2's POSIX path conversion
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Fri, 20 Jul 2018 09:00:57 +0000 (11:00 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Fri, 20 Jul 2018 14:08:58 +0000 (16:08 +0200)
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

tests/data/test1143

index 4f2f4435a968f463955bccfe92328171b5cf41da..7776cfa877175fcfdb015408064c580ea151c669 100644 (file)
@@ -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"