diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-03-06 02:57:24 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-03-06 02:57:24 -0600 |
commit | 029d7083452d578ab264b9525e045d238187c511 (patch) | |
tree | 390c6a4dc4e6c97d6d33e6200464dec5610fc5d3 /t/extra-pty.t | |
parent | 8cb6982279013480b6a5af29f737b6968bb3ae30 (diff) | |
download | term-filter-029d7083452d578ab264b9525e045d238187c511.tar.gz term-filter-029d7083452d578ab264b9525e045d238187c511.zip |
hardcoding -Ilib here is wrong
Diffstat (limited to 't/extra-pty.t')
-rw-r--r-- | t/extra-pty.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/extra-pty.t b/t/extra-pty.t index d9d73da..d2e013a 100644 --- a/t/extra-pty.t +++ b/t/extra-pty.t @@ -70,7 +70,7 @@ alarm 60; { my $pty = IO::Pty::Easy->new(handle_pty_size => 0); - $pty->spawn($^X, '-Ilib', '-e', $script); + $pty->spawn($^X, (map { "-I $_" } @INC), '-e', $script); open my $readfh, '>', $readp or die "can't open pipe (parent): $!"; |