From 417bcf4ea06b9e181c39734e121d9a32cf7cbb21 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 25 Jul 2015 16:33:25 +0100 Subject: [PATCH] Make warnings fatal in tstunt/dpkg-parsechangelog (directly). --- debian/changelog | 1 + tests/tstunt/dpkg-parsechangelog | 2 ++ 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index 2a495142..c3e0a991 100644 --- a/debian/changelog +++ b/debian/changelog @@ -30,6 +30,7 @@ dgit (1.1) unstable; urgency=low check getppid. * Make warnings fatal in dpkg-repos-admin-debian, dgit-ssh-dispatch (using setup_sigwarn). + * Make warnings fatal in tstunt/dpkg-parsechangelog (directly). -- diff --git a/tests/tstunt/dpkg-parsechangelog b/tests/tstunt/dpkg-parsechangelog index c45b1246..f1e75a88 100755 --- a/tests/tstunt/dpkg-parsechangelog +++ b/tests/tstunt/dpkg-parsechangelog @@ -14,6 +14,8 @@ # sys 0m0.012s # $ +$SIG{__WARN__} = sub { die $_[0]; }; # no use of system, so we avoid #793471 + my $infile = "debian/changelog"; if (@ARGV && $ARGV[0] =~ s/^-l//) { -- 2.30.2