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