Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 77 lines (55 sloc) 2.983 kb
b2daec24 »
2000-11-13 more details added
1 _ _ ____ _
2 ___| | | | _ \| |
3 / __| | | | |_) | |
4 | (__| |_| | _ <| |___
5 \___|\___/|_| \_\_____|
3c0194bb »
2000-11-10 initial checkin
6
b2daec24 »
2000-11-13 more details added
7 The cURL Test Suite
3c0194bb »
2000-11-10 initial checkin
8
9 Requires:
e64b8a8f »
2000-11-14 more decriptions
10 perl
3c0194bb »
2000-11-10 initial checkin
11
12 Run:
e64b8a8f »
2000-11-14 more decriptions
13 'make test'. This invokes the 'runtests.pl' perl script. Edit the top
b2daec24 »
2000-11-13 more details added
14 variables of that script in case you have some specific needs.
3c0194bb »
2000-11-10 initial checkin
15
e48747d9 »
2000-11-17 updated to the new stdout stuff and the new -a option
16 The script breaks on the first test that doesn't do OK. Use -a to prevent
17 the script to abort on the first error. Run the script with -v for more
18 verbose output.
8e735d1e »
2000-11-13 converted shell script to perl
19
e64b8a8f »
2000-11-14 more decriptions
20 Use -s fort shorter output, or pass a string with test numbers to run
21 specific tests only (like ./runtests.pl "3 4" to test 3 and 4 only)
22
13e9a4d8 »
2000-11-20 added a description about the memory checks
23 Memory:
24 The test script will check that all allocated memory is freed properly IF
25 curl has been built with the MALLOCDEBUG define set. The script will
26 automatically detect if that is the case, and it will use the ../memanalyze
27 script to analyze the memory debugging output.
28
ebd6897b »
2001-03-04 runtests -g explained
29 Debug:
30 If a test case fails, you can conveniently get the script to invoke the
31 debugger (gdb) for you with the server running and the exact same command
32 line parameters that failed. Just invoke 'runtests.pl <test number> -g' and
33 then just type 'run' in the debugger to perform the command through the
34 debugger.
35
3c0194bb »
2000-11-10 initial checkin
36 Logs:
37 All logs are generated in the logs/ subdirctory (it is emtpied first
38 in the runtests.sh script)
39
40 Data:
b2daec24 »
2000-11-13 more details added
41 All test-data are put in the data/ subdirctory.
42
c84aa663 »
2000-11-21 httpN => protN and some other minor updates
43 For each tests there exist a few files, all with their own separate and
44 special purpose. Replace N with the test number:
b2daec24 »
2000-11-13 more details added
45
46 nameN.txt: test description as displayed when run
47
48 commandN.txt: command line options for this test
49
c84aa663 »
2000-11-21 httpN => protN and some other minor updates
50 protN.txt: the full dump of the protocol communication that curl is
b2daec24 »
2000-11-13 more details added
51 expected to use when performing this test
52
8e735d1e »
2000-11-13 converted shell script to perl
53 replyN.txt: the full dump the server should reply to curl for this test.
54 If the final result that curl should've got is not in this
55 file, you can instead name the file replyN0001.txt. This enables
56 you to fiddle more. ;-)
57
e64b8a8f »
2000-11-14 more decriptions
58 stdoutN.txt: if this file is present, curl's stdout is compared against
e48747d9 »
2000-11-17 updated to the new stdout stuff and the new -a option
59 this file to see that they're identical. If this is present,
60 curl will not be run with -o but instead all output is compared
61 against this file!
e64b8a8f »
2000-11-14 more decriptions
62
13e9a4d8 »
2000-11-20 added a description about the memory checks
63 errorN.txt: if this file is present, it should contain the error number
64 curl is supposed to return when this test is run.
65
190ecd65 »
2000-11-21 Added the uploadN.txt description
66 uploadN.txt: if this file is present, it should contain the same data as
67 the log/upload.N does, after a curl upload has been performed.
68
f589c1c0 »
2000-11-27 Added the ftpdN.txt file
69 ftpdN.txt: this file may contain instructions how to modify the behaviour
70 of the ftp server. It uses a simple syntax that is left to
71 describe here!
72
8e735d1e »
2000-11-13 converted shell script to perl
73 FIX:
74
75 * Make httpserver.pl work when we PUT without Content-Length:
76
Something went wrong with that request. Please try again.