diff options
author | Niko Tyni <ntyni@iki.fi> | 2020-01-24 18:57:24 +0100 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2020-01-24 18:57:24 +0100 |
commit | d5c8eab28e23506921ccd4c29e7243b13e05015f (patch) | |
tree | 5dbee93e48c08620528122e47d58b95c5a84965a | |
parent | 18929fe027b34b9d82549878e697cdd778bf65aa (diff) |
sbuild_sighup
Some automatic building tools (sbuild) set $SIG{HUP} = 'IGNORE'.
Temporarily override that.
Gbp-Pq: Name sbuild_sighup.patch
-rwxr-xr-x | t/sleep_exit.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/sleep_exit.pl b/t/sleep_exit.pl index 1e06536..b1f5d90 100755 --- a/t/sleep_exit.pl +++ b/t/sleep_exit.pl @@ -2,6 +2,11 @@ use strict; $| = 1; +# Debian-specific modification: some automatic building tools +# (sbuild) set $SIG{HUP} = 'IGNORE'. Temporarily override that. + +local $SIG{HUP} = 'DEFAULT'; + my ($sleep, $exit_status) = @ARGV; $sleep = 1 unless defined $sleep; $exit_status = 0 unless defined $exit_status; |