Docs: use verified version of local_part variable in router require_files example
[users/heiko/exim.git] / test / scripts / 0000-Basic / 0438
index 099efba0da6d9bbd6c9ce95b108f99cc1d62ddc8..28795d83a90d73a33f4baa747b0ad46e5cbe4535 100644 (file)
@@ -8,3 +8,17 @@ killdaemon
 exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/exim-daemon.anotherpid
 ****
 killdaemon
 exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/exim-daemon.anotherpid
 ****
 killdaemon
+#
+# Check for a SIGTERM daemon kill removing the pid file
+exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/mypidfile
+****
+sleep 1
+sudo perl
+system "ls DIR/spool | grep pid";
+print "\n";
+open(IN, "<", "DIR/spool/mypidfile");
+while (<IN>) { kill "TERM", $_; }
+****
+sleep 1
+ls DIR/spool
+#