chiark / gitweb /
Test suite: stunt parsechangelog: fallback
[dgit.git] / tests / tstunt / Dpkg / Changelog / Parse.pm
index 4d797af3c99017042012ff3a46feeeb3521f30e0..677580bb048793e51d653398e40ae1247e268999 100644 (file)
@@ -33,6 +33,8 @@ use Dpkg::Control::Changelog;
 use base qw(Exporter);
 our @EXPORT = qw(changelog_parse);
 
+die +(join " ", %ENV)." ?" if $ENV{'DGIT_NO_TSTUNT_CLPARSE'};
+
 sub changelog_parse {
     my (%options) = @_; # ignored
 
@@ -47,3 +49,5 @@ sub changelog_parse {
 
     return $fields;
 }
+
+1;