diff --git a/tests/data/test1162 b/tests/data/test1162
index 73e4646e1..b6b394139 100644
--- a/tests/data/test1162
+++ b/tests/data/test1162
@@ -31,6 +31,10 @@ FTP wildcard with crazy pattern
"ftp://%HOSTIP:%FTPPORT/fully_simulated/DOS/[*\\s-'tl"
+
+# Needed for MSYS2 to not convert backslash to forward slash
+MSYS2_ARG_CONV_EXCL=ftp://
+