1<testcase>
2# This test case is primarily meant to verify that parsing and adding the 100K
3# files is a swift operation.
4<info>
5<keywords>
6HTTP
7HTTP PUT
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<data>
15</data>
16</reply>
17
18# Client-side
19<client>
20<server>
21none
22</server>
23<name>
24Attempt to upload 100K files but fail immediately
25</name>
26<command>
27-K log/cmd1291 --fail-early
28</command>
29<file name="log/upload-this">
30XXXXXXXx
31</file>
32# generate the config file
33<precheck>
34perl -e 'for(1 .. 100000) { printf("upload-file=log/upload-this\nurl=htttttp://non-existing-host.haxx.se/upload/1291\n", $_);}' > log/cmd1291;
35</precheck>
36</client>
37
38# Verify data after the test has been "shot"
39<verify>
40<errorcode>
411
42</errorcode>
43
44# we disable valgrind here since it takes 40+ seconds even on a fairly snappy
45# machine
46<valgrind>
47disable
48</valgrind>
49</verify>
50</testcase>
51