aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-08-02 14:09:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-08-02 14:09:08 +0000
commit6f750f3b575bce420666b8115c1db7897dae5f7a (patch)
tree5cdf15160840401d1871ee3917e90bdd1a768b1a /tests
parent5a6dcdc36c33e15f1b32f08bf885ec5d48b27aec (diff)
Dmitriy Sergeyev reported a regression: resumed file:// transfers broke
after 7.16.2. This is much due to the different treatment file:// gets internally, but now I added test 231 to make it less likely to happen again without us noticing!
Diffstat (limited to 'tests')
-rw-r--r--tests/data/Makefile.am3
-rw-r--r--tests/data/test23132
2 files changed, 34 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 8cc794d4a..97c117152 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -42,4 +42,5 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test405 test604 test605 test606 test607 test608 test609 test294 test295 \
test296 test297 test298 test610 test611 test612 test406 test407 test408 \
test409 test613 test614 test700 test701 test702 test704 test705 test703 \
- test706 test707 test350 test351 test352 test353 test289 test540 test354
+ test706 test707 test350 test351 test352 test353 test289 test540 test354 \
+ test231
diff --git a/tests/data/test231 b/tests/data/test231
new file mode 100644
index 000000000..912ea4125
--- /dev/null
+++ b/tests/data/test231
@@ -0,0 +1,32 @@
+<testcase>
+# Server-side
+<reply>
+# 16 bytes to check
+<datacheck>
+B01234567
+C01234567
+</datacheck>
+</reply>
+
+# Client-side
+<client>
+<server>
+file
+</server>
+ <name>
+file:// with resume
+ </name>
+ <command>
+file://localhost/%PWD/log/test231.txt -C 10-
+</command>
+<file name="log/test231.txt">
+A01234567
+B01234567
+C01234567
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+</verify>
+</testcase>