@ 11d698f

181230.1 · e02197f7cab0ae4c061f53450c8dcd43fa79060b

Remove --faq and --cookbook from standalone.

The standalone version of ack no longer supports the --faq or --cookbook options, which never worked right for it anyway. Instead, --man includes the FAQ and Cookbook.

The installed-by-CPAN version does support --faq and --cookbook.

reading declarations

Changes to t/runtests.pl. All files

t/runtests.pl

@@ -12,9 +12,14 @@ use ExtUtils::Command::MM; $ENV{PERL_DL_NONLAZY} = 1; $ENV{ACK_TEST_STANDALONE} = shift; +defined($ENV{ACK_TEST_STANDALONE}) or die 'Must pass an argument to set ACK_TEST_STANDALONE';+ # Make sure the tests' standard input is *never* a pipe (messes with ack's filter detection). open STDIN, '<', '/dev/null'; -printf("Running tests on %s\n",-       $ENV{ACK_TEST_STANDALONE} ? 'ack-standalone' : 'blib/script/ack');+printf(+    "Running tests on %s, ACK_TEST_STANDALONE=%s\n",+    $ENV{ACK_TEST_STANDALONE} ? 'ack-standalone' : 'blib/script/ack',+    $ENV{ACK_TEST_STANDALONE}+); test_harness(shift, shift, shift);