git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Explicit IPv6 addresses for mysql and pgsql
[exim.git]
/
test
/
scripts
/
0000-Basic
/
0621
diff --git
a/test/scripts/0000-Basic/0621
b/test/scripts/0000-Basic/0621
index 53512ade41a7ebec2057aeec9c60ca78c2900802..589c0ac4e3c5bb529d43c2c312dc442407f124f2 100644
(file)
--- a/
test/scripts/0000-Basic/0621
+++ b/
test/scripts/0000-Basic/0621
@@
-1,19
+1,12
@@
-# $queue_size
-#
-exim -bd -DSERVER=server -oX PORT_D
+# daemon: re-exec on SIGHUP
+exim -DSERVER=server -bd -oX PORT_D -oP DIR/spool/exim-daemon.pid
****
****
-#
-exim a@test.ex
+millisleep 500
+sudo perl
+open(PID, "DIR/spool/exim-daemon.pid");
+chomp($daemon_pid = <PID>);
+close(PID);
+system("kill -HUP $daemon_pid");
****
****
-exim a@test.ex
-****
-exim a@test.ex
-Subject: msg 3
-****
-sleep 4
-exim a@test.ex
-Subject: msg 4
-****
-#
+sleep 1
killdaemon
killdaemon
-no_msglog_check