annotate tests/README @ 209:10da50168dab

replaced the MD5 implementation with the one of Solar Designer Until now, the sample code of RFC 1321 was used. It had an ugly license. Now we use the implementation of Solar Designer, which is in the Public Domain. http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5
author meillo@marmaro.de
date Sun, 18 Jul 2010 21:58:15 +0200
parents 0379789a847b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
1 This directory contains test cases for masqmail, one in each directory.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
2
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
3 Build the test scripts be running
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
4 make
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
5 in the directory. You can build all of them by running
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
6 make
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
7 in the tests directory.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
8
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
9 Run the test by executing
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
10 ./test
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
11 in its directory, preferably NOT as root, but you got to have write
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
12 permission for the directory.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
13
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
14
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
15 Usually, two log files, masqmail.log and debug.log, will be created.
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
16 They may give some information if anything went wrong.
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
17
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
18 The README files in the test case directories explain the tests in
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
19 more detail.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
20
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
21
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
22 FIXME: Currently, the return values of the test scripts don't express
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
23 if the test was successful or not.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
24
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
25
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
26 If tests do not work, there could be some problem with either the test
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
27 programs, the configuration file or masqmail itself. If you have
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
28 installed masqmail successfully and these scripts do not work, do not
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
29 worry too much :-).
64
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
30
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
31
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
32 The original test scripts are by oku.
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
33 They were rearranged and extended by meillo.