summaryrefslogtreecommitdiffstats
path: root/t/extra-pty.t
diff options
context:
space:
mode:
Diffstat (limited to 't/extra-pty.t')
-rw-r--r--t/extra-pty.t2
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): $!";