Skip to content

Commit

Permalink
Set the TERM environment variable's value in xt/p6doc-blackbox.t
Browse files Browse the repository at this point in the history
On OpenBSD, more doesn't like when TERM is unset, causing tests run here
to fail.
  • Loading branch information
Kaiepi committed May 28, 2020
1 parent eb5341c commit 8aa0fcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xt/p6doc-blackbox.t
Expand Up @@ -22,6 +22,7 @@ sub run-doc(*@args, :$interact = False, :$rc = 0) {
# XXX: This should be fixed in bin/p6doc itself, probably
# Avoid hard-coded, non-portable 'less -r' in bin/p6doc
%env<PAGER> = 'more';
%env<TERM> = %*ENV<TERM> // 'unknown';

my $in := $interact ~~ IO::Handle ?? $interact !! so $interact;

Expand Down

0 comments on commit 8aa0fcb

Please sign in to comment.