r2433 - in packages/libproc-background-perl/trunk: debian t
Niko Tyni
ntyni-guest at costa.debian.org
Fri Mar 17 23:30:36 UTC 2006
Author: ntyni-guest
Date: 2006-03-17 23:30:35 +0000 (Fri, 17 Mar 2006)
New Revision: 2433
Modified:
packages/libproc-background-perl/trunk/debian/changelog
packages/libproc-background-perl/trunk/t/sleep_exit.pl
Log:
set SIG{HUP} to DEFAULT for the tests
Modified: packages/libproc-background-perl/trunk/debian/changelog
===================================================================
--- packages/libproc-background-perl/trunk/debian/changelog 2006-03-17 22:56:47 UTC (rev 2432)
+++ packages/libproc-background-perl/trunk/debian/changelog 2006-03-17 23:30:35 UTC (rev 2433)
@@ -3,8 +3,10 @@
* Adopted for the Debian Perl Group. (Closes: #357074)
* Don't ignore the return value of 'make distclean'.
* Upgrade to Standards-Version 3.6.2. No changes needed.
+ * t/sleep_exit.pl: Explicitly reset HUP signal handling for the tests,
+ to make them work with sbuild.
- -- Niko Tyni <ntyni at iki.fi> Sat, 18 Mar 2006 00:55:35 +0200
+ -- Niko Tyni <ntyni at iki.fi> Sat, 18 Mar 2006 01:26:33 +0200
libproc-background-perl (1.08-1) unstable; urgency=low
Modified: packages/libproc-background-perl/trunk/t/sleep_exit.pl
===================================================================
--- packages/libproc-background-perl/trunk/t/sleep_exit.pl 2006-03-17 22:56:47 UTC (rev 2432)
+++ packages/libproc-background-perl/trunk/t/sleep_exit.pl 2006-03-17 23:30:35 UTC (rev 2433)
@@ -2,6 +2,11 @@
$| = 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;
More information about the Pkg-perl-cvs-commits
mailing list