#!/usr/bin/perl use strict; use warnings; use Test::More; plan(tests => 1); # This test is here to detect breakage in # dh's rules_explicit_target, which parses # slightly internal make output. system("mkdir -p t/tmp/debian"); system("cp debian/control debian/changelog t/tmp/debian"); open (OUT, ">", "t/tmp/debian/rules") || die "$!"; my $binpath = $ENV{AUTOPKGTEST_TMP} ? '/usr/bin' : '../..'; print OUT <&1`; ok(grep { m/override called/ } @output) or do { diag($_) for @output; }; system("rm -rf t/tmp");