summaryrefslogtreecommitdiffstats
path: root/tests/postfix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/postfix')
-rw-r--r--tests/postfix12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/postfix b/tests/postfix
new file mode 100644
index 0000000..1cac087
--- /dev/null
+++ b/tests/postfix
@@ -0,0 +1,12 @@
+ apk_add $@ mutt
+ /etc/init.d/$@ start
+ sleep 1
+ pidof master
+ echo "hello" | mutt -s 'test' root
+ /etc/init.d/$@ stop
+ while pidof $@; do\
+ echo -n "." >/dev/tty;\
+ sleep 1;\
+ done
+ test -f /etc/mime.types
+ apk_del $@ mutt