Fix kill commandline for Solaris compatibility
authorTodd Lyons <tlyons@exim.org>
Thu, 18 Sep 2014 14:47:22 +0000 (07:47 -0700)
committerTodd Lyons <tlyons@exim.org>
Thu, 18 Sep 2014 14:47:22 +0000 (07:47 -0700)
test/runtest

index a647b229aa13428f575090bfc64cebb6fa5b2fa4..095b968517c2d6d39c03a7b22e9997e6262cd389 100755 (executable)
@@ -165,7 +165,7 @@ if (exists $TEST_STATE->{exim_pid})
   {
   $pid = $TEST_STATE->{exim_pid};
   print "Tidyup: killing wait-mode daemon pid=$pid\n";
-  system("sudo kill -SIGINT $pid");
+  system("sudo kill -INT $pid");
   }
 
 if (opendir(DIR, "spool"))
@@ -179,7 +179,7 @@ if (opendir(DIR, "spool"))
     chomp($pid = <PID>);
     close(PID);
     print "Tidyup: killing daemon pid=$pid\n";
-    system("sudo rm -f spool/$spool; sudo kill -SIGINT $pid");
+    system("sudo rm -f spool/$spool; sudo kill -INT $pid");
     }
   }
 else