diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-07-25 16:33:25 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-07-25 17:58:34 +0100 |
commit | 417bcf4ea06b9e181c39734e121d9a32cf7cbb21 (patch) | |
tree | 75737fb9e88989ef17108213ab63119082a7c4a4 /tests | |
parent | 182693923d60c6e869e7c07b113bf65bce816f3f (diff) |
Make warnings fatal in tstunt/dpkg-parsechangelog (directly).
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tstunt/dpkg-parsechangelog | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tstunt/dpkg-parsechangelog b/tests/tstunt/dpkg-parsechangelog index c45b124..f1e75a8 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//) { |