in reply to Otherwise successful test fails under test_harness

Since the output is going through a pipe to a summarizing program, I'm not surprised that IO::Pager doesn't even try to launch a pager and so it doesn't fail because it never even checks whether $ENV{PAGER} is set.

- tye        

  • Comment on Re: Otherwise successful test fails under test_harness (-t)

Replies are listed 'Best First'.
Re^2: Otherwise successful test fails under test_harness (-t)
by belg4mit (Prior) on Feb 12, 2012 at 03:45 UTC
    While cryptic, and not exactly correct—see the UPDATE appended to my post before I received this reply, in short: there is no launching of a pager—this did get me to insert some print statements and compare the output in the two scenarios. The heart of the problem was indeed the lack of TTY, and a cryptic line from 8 years ago that I no longer grok the intent of:
    # This allows us to have multiple pseudo-STDOUT return 0 unless -t STDOUT;
    Thanks!

    --
    In Bob We Trust, All Others Bring Data.