X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=test%2Fscripts%2F0000-Basic%2F0438;h=eb6daf3d59f08337342794b6bcf99e49e3bd81be;hb=60a4ceafecdf10647d01127bdae8252fc5b84508;hp=a8287cf9fe0361e44a81b403204311df4faeca06;hpb=01446a56c76aa5ac3213a86f8992a2371a8301f3;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/test/scripts/0000-Basic/0438 b/test/scripts/0000-Basic/0438 index a8287cf9f..eb6daf3d5 100644 --- a/test/scripts/0000-Basic/0438 +++ b/test/scripts/0000-Basic/0438 @@ -3,18 +3,21 @@ need_ipv4 # exim -d -DSERVER=server -bd -oX PORT_D **** +millisleep 1000 killdaemon # PID file must be DIR/spool/exim-daemon.* in order for "killdaemon" to work exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/exim-daemon.anotherpid **** +millisleep 1000 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 -ls DIR/spool sudo perl +system "ls DIR/spool | grep pid"; +print "\n"; open(IN, "<", "DIR/spool/mypidfile"); while () { kill "TERM", $_; } ****