summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorStephan Szabo <stephan.szabo@sony.com>2021-01-20 10:08:49 -0800
committerJay Satiro <raysatiro@yahoo.com>2021-02-09 02:45:51 -0500
commit1269c80af1dc45c3cee1dbbc76270ac7c7d6f1c3 (patch)
tree8376253c4116399f71fbfd820a940949f18117f9 /tests/data
parentd4a3b87c13da5db437dc66d646132bdeb902e196 (diff)
downloadcurl-1269c80af1dc45c3cee1dbbc76270ac7c7d6f1c3.tar.gz
file: Support unicode urls on windows
Closes https://github.com/curl/curl/pull/6501
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.inc2
-rw-r--r--tests/data/test170345
2 files changed, 46 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc
index 464eab2a9..6762c8dcc 100644
--- a/tests/data/Makefile.inc
+++ b/tests/data/Makefile.inc
@@ -201,7 +201,7 @@ test1630 test1631 test1632 test1633 test1634 \
test1650 test1651 test1652 test1653 test1654 test1655 \
test1660 \
\
-test1700 test1701 test1702 \
+test1700 test1701 test1702 test1703 \
\
test1800 test1801 \
\
diff --git a/tests/data/test1703 b/tests/data/test1703
new file mode 100644
index 000000000..ab4f0280f
--- /dev/null
+++ b/tests/data/test1703
@@ -0,0 +1,45 @@
+<testcase>
+<info>
+<keywords>
+FILE
+</keywords>
+</info>
+
+<reply>
+<data>
+foo
+ bar
+bar
+ foo
+moo
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+file
+</server>
+<features>
+Unicode
+win32
+</features>
+<name>
+basic file:// file with UTF-8 characters
+</name>
+<command option="no-include">
+file://localhost%FILE_PWD/log/%E3%83%86%E3%82%B9%E3%83%881703.txt
+</command>
+<file name="log/ใƒ†ใ‚นใƒˆ1703.txt">
+foo
+ bar
+bar
+ foo
+moo
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+</verify>
+</testcase>