From: Ian Jackson Date: Sat, 25 Jul 2015 15:33:25 +0000 (+0100) Subject: Make warnings fatal in tstunt/dpkg-parsechangelog (directly). X-Git-Tag: debian/1.1~54 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=417bcf4ea06b9e181c39734e121d9a32cf7cbb21 Make warnings fatal in tstunt/dpkg-parsechangelog (directly). --- 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//) {