Closed ghost closed 4 years ago
This is a bigger issue than just this test. I've run into this problem doing regular old searches with ack, where something like
ack blahblah > foo
will have ack searching the foo file for blahblah
and looping infinitely over it.
Or maybe stdout.log should not get written into the current directory?
On Windows (XP SP2, Strawberry 5.16.2, should not matter),
t/ack-match.t
failed for me withOut of memory
error. This is because ack searches thestdout.log
file as it is written into the build dir, during the 5th test:run_ack( '--match', 'Sue' );
This patch is a (silly) workaround, a better approach for a fix might be to tell the test instance of ack to ignore all/some
.log
files.