Testsuite: testcases for bug 2538
[exim.git] / test / scripts / 0000-Basic / 0438
index a8287cf9fe0361e44a81b403204311df4faeca06..28795d83a90d73a33f4baa747b0ad46e5cbe4535 100644 (file)
@@ -13,8 +13,9 @@ killdaemon
 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 (<IN>) { kill "TERM", $_; }
 ****