changeset 423:196dfb2a3056

Updated tests to the changes on spool dir.
author markus schnalke <meillo@marmaro.de>
date Wed, 30 May 2012 10:38:29 +0200
parents bdbedce60247
children 19be3b27df6f
files tests/hostname-stdin/makefile tests/hostname-stdin/test.conf.tpl tests/localhost-stdin/makefile tests/localhost-stdin/test.conf.tpl tests/relay-to-hostname-mta/makefile tests/relay-to-hostname-mta/test.conf.tpl tests/relay-to-localhost-mta/makefile tests/relay-to-localhost-mta/test.conf.tpl
diffstat 8 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hostname-stdin/makefile	Wed May 30 10:27:10 2012 +0200
+++ b/tests/hostname-stdin/makefile	Wed May 30 10:38:29 2012 +0200
@@ -2,7 +2,7 @@
 # heavily based on Makefile.am written by oliver kurth
 
 all: test test.conf
-	mkdir -p ./input ./lock
+	mkdir -p spool
 
 test.conf: test.conf.tpl
 	# fails if the current path contains `^'.
@@ -16,5 +16,5 @@
 	rm -f test.conf test
 
 realclean: clean
-	rm -rf ./input ./lock
+	rm -rf spool
 	rm -f *.log $(LOGNAME)
--- a/tests/hostname-stdin/test.conf.tpl	Wed May 30 10:27:10 2012 +0200
+++ b/tests/hostname-stdin/test.conf.tpl	Wed May 30 10:38:29 2012 +0200
@@ -14,7 +14,7 @@
 local_hosts="SMTP_HOST"
 
 # spool into the current directory
-spool_dir="PWD"
+spool_dir="PWD/spool"
 
 # deliver local mail into the current directory
 mail_dir="PWD"
--- a/tests/localhost-stdin/makefile	Wed May 30 10:27:10 2012 +0200
+++ b/tests/localhost-stdin/makefile	Wed May 30 10:38:29 2012 +0200
@@ -2,7 +2,7 @@
 # heavily based on Makefile.am written by oliver kurth
 
 all: test.conf
-	mkdir -p ./input ./lock
+	mkdir -p spool
 
 test.conf: test.conf.tpl
 	# fails if the current path contains `^'.
@@ -12,5 +12,5 @@
 	rm -f test.conf
 
 realclean: clean
-	rm -rf ./input ./lock
+	rm -rf spool
 	rm -f *.log $(LOGNAME)
--- a/tests/localhost-stdin/test.conf.tpl	Wed May 30 10:27:10 2012 +0200
+++ b/tests/localhost-stdin/test.conf.tpl	Wed May 30 10:38:29 2012 +0200
@@ -14,7 +14,7 @@
 local_hosts="localhost"
 
 # spool dir is the current directory
-spool_dir="PWD"
+spool_dir="PWD/spool"
 
 # deliver local mail into the current directory
 mail_dir="PWD"
--- a/tests/relay-to-hostname-mta/makefile	Wed May 30 10:27:10 2012 +0200
+++ b/tests/relay-to-hostname-mta/makefile	Wed May 30 10:38:29 2012 +0200
@@ -2,7 +2,7 @@
 # heavily based on Makefile.am written by oliver kurth
 
 all: test test.conf test.route
-	mkdir -p ./input ./lock
+	mkdir -p spool
 
 test.conf: test.conf.tpl
 	# fails if the current path contains `^'.
@@ -20,5 +20,5 @@
 	rm -f test.conf test test.route
 
 realclean: clean
-	rm -rf ./input ./lock
+	rm -rf spool
 	rm -f *.log
--- a/tests/relay-to-hostname-mta/test.conf.tpl	Wed May 30 10:27:10 2012 +0200
+++ b/tests/relay-to-hostname-mta/test.conf.tpl	Wed May 30 10:38:29 2012 +0200
@@ -19,7 +19,7 @@
 
 
 # spool files in the current directory
-spool_dir="PWD"
+spool_dir="PWD/spool"
 
 # deliver local mails into the current directory
 mail_dir="PWD"
--- a/tests/relay-to-localhost-mta/makefile	Wed May 30 10:27:10 2012 +0200
+++ b/tests/relay-to-localhost-mta/makefile	Wed May 30 10:38:29 2012 +0200
@@ -2,7 +2,7 @@
 # heavily based on Makefile.am written by oliver kurth
 
 all: test test.conf
-	mkdir -p ./input ./lock
+	mkdir -p spool
 
 test.conf: test.conf.tpl
 	# fails if the current path contains `^'.
@@ -16,5 +16,5 @@
 	rm -f test.conf test
 
 realclean: clean
-	rm -rf ./input ./lock
+	rm -rf spool
 	rm -f *.log
--- a/tests/relay-to-localhost-mta/test.conf.tpl	Wed May 30 10:27:10 2012 +0200
+++ b/tests/relay-to-localhost-mta/test.conf.tpl	Wed May 30 10:38:29 2012 +0200
@@ -19,7 +19,7 @@
 
 
 # spool files in the current directory
-spool_dir="PWD"
+spool_dir="PWD/spool"
 
 # deliver local mails into the current directory
 mail_dir="PWD"