annotate tests/makefile @ 392:c5fd796ea06e

Heavy refactoring in parts of conf.c. init_conf() parse_boolean() parse_list_file() Re-arrangement of code. parse_address_glob_list() Removed unneccessary parameter. parse_list() parse_interface(): Use strtok()/strchr() instead of doing is all by hand. Removed limitation of fixed size buffer. eat_comments() Use a state machine. eat_line_trailing() eat_spaces() read_lval() Better structured code. read_conf() read_route() Removed magic numbers. Made all list type in the config files accept pathname entries, except for `permanent_routes' and `query_routes.' for which this is impossible.
author markus schnalke <meillo@marmaro.de>
date Sat, 18 Feb 2012 18:07:55 +0100
parents 49ca781e1503
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
1
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
2 all:
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
3 cd hostname-stdin && make
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
4 cd localhost-stdin && make
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
5 cd relay-to-localhost-mta && make
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
6 cd relay-to-hostname-mta && make
6
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
7
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
8 run: all
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
9 cd hostname-stdin && ./test
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
10 cd localhost-stdin && ./test
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
11 cd relay-to-localhost-mta && ./test
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
12 cd relay-to-hostname-mta && ./test
6
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
13
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
14 clean:
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
15 cd hostname-stdin && make clean
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
16 cd localhost-stdin && make clean
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
17 cd relay-to-localhost-mta && make clean
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
18 cd relay-to-hostname-mta && make clean
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
19
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
20 realclean:
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
21 cd hostname-stdin && make realclean
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
22 cd localhost-stdin && make realclean
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
23 cd relay-to-localhost-mta && make realclean
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
24 cd relay-to-hostname-mta && make realclean