From f681d99c5bfa56d779c05fb079977991d03344c3 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Sat, 19 Feb 2005 00:27:57 +0000 Subject: [PATCH] IPC::Run test failures with utf8 Message-ID: <20050219002757.GO13998@plum.flirble.org> p4raw-id: //depot/perl@23989 --- lib/IPC/Run/t/run.t | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/IPC/Run/t/run.t b/lib/IPC/Run/t/run.t index 130a18c977..4f0206f487 100644 --- a/lib/IPC/Run/t/run.t +++ b/lib/IPC/Run/t/run.t @@ -88,6 +88,11 @@ sub _unlink { my $text = "Hello World\n" ; my @perl = ( $perl ) ; +# When utf8 is turned on via environment variables, then uc will attempt to +# use utf8; as part of the swash initialisation. The tests here run a child +# perl and get it to uc() strings. So that child needs to know where utf8.pm +# is. +push @perl, q(-I../..) if $ENV{PERL_CORE}; my $emitter_script = qq{print '$text' ; print STDERR uc( '$text' ) unless \@ARGV } ; -- 2.34.1