updated
[platform/upstream/curl.git] / tests / README
1                                   _   _ ____  _     
2                               ___| | | |  _ \| |    
3                              / __| | | | |_) | |    
4                             | (__| |_| |  _ <| |___ 
5                              \___|\___/|_| \_\_____|
6
7 The cURL Test Suite
8
9 Requires:
10   perl (and some shell tools that still hasn't been written in pure perl)
11
12 Run:
13   'make test'. This invokes the 'runtests.sh' shell script. Edit the top
14   variables of that script in case you have some specific needs.
15
16   The script breaks on the first test that doesn't do OK. Run the script
17   with -v for more verbose output.
18
19 Logs:
20   All logs are generated in the logs/ subdirctory (it is emtpied first
21   in the runtests.sh script)
22
23 Data:
24   All test-data are put in the data/ subdirctory.
25
26   For each tests there exist four files. Replace N with the test number:
27
28     nameN.txt: test description as displayed when run
29
30     commandN.txt: command line options for this test
31
32     httpN.txt: the full dump of the HTTP protocol communication that curl is
33                expected to use when performing this test
34
35     replyN.txt: the full dump the server should reply to curl for this test.
36                If the final result that curl should've got is not in this
37                file, you can instead name the file replyN0001.txt. This enables
38                you to fiddle more. ;-)
39
40 FIX:
41
42   * Make httpserver.pl work when we PUT without Content-Length:
43