Mercurial > masqmail
diff tests/relay-to-hostname-mta/makefile @ 63:49ca781e1503
reworked the test cases completely
they are split into four independent tests now
and each one is tested to work with the current version
author | meillo@marmaro.de |
---|---|
date | Sun, 30 May 2010 16:05:49 +0200 (2010-05-30) |
parents | |
children | 08932c629849 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/relay-to-hostname-mta/makefile Sun May 30 16:05:49 2010 +0200 @@ -0,0 +1,23 @@ +# Makefile by markus schnalke <meillo@marmaro.de> +# heavily based on Makefile.am written by oliver kurth + +all: test test.conf test.route + mkdir -p ./input ./lock + +test.conf: test.conf.tpl + # fails if the current path contains `^'. + sed "s^PWD^`pwd`^" $< >$@ + +test: test.tpl + sed s/RECV_HOST/`hostname`/ $< >$@ + chmod +x $@ + +test.route: + echo mail_host=\"`hostname`\" >$@ + +clean: + rm -f test.conf test test.route + +realclean: clean + rm -rf ./input ./lock + rm -f *.log