Package: ack / 2.14-5

Metadata

Package Version Patches format
ack 2.14-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
no standalone test but autopkgtests.patch | (download)

Makefile.PL | 4 2 + 2 - 0 !
t/Util.pm | 8 4 + 4 - 0 !
t/ack-x.t | 2 1 + 1 - 0 !
t/command-line-files.t | 2 1 + 1 - 0 !
t/lib/00-coverage.t | 4 4 + 0 - 0 !
t/process-substitution.t | 2 1 + 1 - 0 !
t/runtests.pl | 2 1 + 1 - 0 !
7 files changed, 14 insertions(+), 10 deletions(-)

 misuse $ack_test_standalone to switch between build-/installed-time tests
 ack's test suite originally runs twice, once for the normal version
 (called "classic") and once for the standalone version. Since Debian
 doesn't ship the standalone version, we don't need to test it
 either. But instead we want installed-time tests via the autopkgtest
 infrastructure.
 .
 So we change (nearly) all occurrences of the ACK_TEST_STANDALONE
 environment variable of ack's test suite to ADTTMP and switch between
 build-time and installed-time testing with it. Which fits perfectly
 because -Mblib is usually not used or unset if
 $ENV{ACK_TEST_STANDALONE} is set.
 .
 So we skip the test_standalone target, but pass $ADTTMP instead of a
 hardcoded 0 to t/runtests.pl to trigger the switch. That way it
 should even work when running "make test" after "perl Makefile.PL"
 has run.
cherry pick 17504aa make sure strings match along lines.patch | (download)

ack | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 make sure strings match along lines
 This is redundant for most usages of ack, but fixes a bug when using -l.