Mercurial > masqmail
diff tests/hostname-stdin/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 | tests/Makefile@3cb6f383f07e |
children | 60bb2dbe2866 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/hostname-stdin/makefile Sun May 30 16:05:49 2010 +0200 @@ -0,0 +1,20 @@ +# Makefile by markus schnalke <meillo@marmaro.de> +# heavily based on Makefile.am written by oliver kurth + +all: test test.conf + mkdir -p ./input ./lock + +test.conf: test.conf.tpl + # fails if the current path contains `^'. + sed "s/SMTP_HOST/`hostname`/; s^PWD^`pwd`^" $< >$@ + +test: test.tpl + sed s/RECV_HOST/`hostname`/ $< >$@ + chmod +x $@ + +clean: + rm -f test.conf test + +realclean: clean + rm -rf ./input ./lock + rm -f *.log `logname`