From 5e9abc567fbe76e150e143091e658712466d6db3 Mon Sep 17 00:00:00 2001 From: Gerhard Jungwirth Date: Wed, 13 Aug 2014 10:51:16 +0200 Subject: [PATCH] MT#8397 Remove usage of Sys::Sig --- Build.PL | 1 - debian/control | 2 -- inc/Local/Module/Build.pm | 3 +-- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Build.PL b/Build.PL index eaf5d8c55c..bc402e27db 100644 --- a/Build.PL +++ b/Build.PL @@ -113,7 +113,6 @@ my $builder = Local::Module::Build->new( 'Test::mysqld' => 0, 'Test::WebDriver' => 0, 'strict' => 0, - 'Sys::Sig' => 0, 'Test::WWW::Mechanize::Catalyst' => 0, 'URI' => 0, 'warnings' => 0, diff --git a/debian/control b/debian/control index 00f6de66d2..de160eda66 100644 --- a/debian/control +++ b/debian/control @@ -52,7 +52,6 @@ Build-Depends: debhelper (>= 8), libsereal-encoder-perl, libsipwise-base-perl, libstring-mkpasswd-perl, - libsys-sig-perl, libtemplate-plugin-json-escape-perl, libtest-mockobject-perl, libtext-csv-xs-perl, @@ -128,7 +127,6 @@ Depends: gettext, libsereal-decoder-perl, libsereal-encoder-perl, libstring-mkpasswd-perl, - libsys-sig-perl, libtemplate-perl, libtemplate-plugin-json-escape-perl, libtest-mockobject-perl, diff --git a/inc/Local/Module/Build.pm b/inc/Local/Module/Build.pm index f29dbe1d6f..3534c72876 100644 --- a/inc/Local/Module/Build.pm +++ b/inc/Local/Module/Build.pm @@ -29,8 +29,7 @@ method wait_socket($host, $port, $timeout=90) { sub shutdown_servers { for my $proc ($webdriver, $plackup) { if ($proc) { - require Sys::Sig; - $proc->kill(Sys::Sig->TERM); + $proc->kill('TERM'); } } }