Testsuite: tidying
[exim.git] / test / scripts / 0000-Basic / 0438
1 # -oP to override pid file
2 need_ipv4
3 #
4 exim -d -DSERVER=server -bd -oX PORT_D
5 ****
6 killdaemon
7 # PID file must be DIR/spool/exim-daemon.* in order for "killdaemon" to work
8 exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/exim-daemon.anotherpid
9 ****
10 killdaemon
11 #
12 # Check for a SIGTERM daemon kill removing the pid file
13 exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/mypidfile
14 ****
15 sleep 1
16 sudo perl
17 system "ls DIR/spool | grep pid";
18 print "\n";
19 open(IN, "<", "DIR/spool/mypidfile");
20 while (<IN>) { kill "TERM", $_; }
21 ****
22 sleep 1
23 ls DIR/spool
24 #