In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/22636a294deeffb346cc852d77d2b3b68a7615c9?hp=ef4ead6db594965224805417f6959ee430d5c928>

- Log -----------------------------------------------------------------
commit 22636a294deeffb346cc852d77d2b3b68a7615c9
Author: Brian Fraser <[email protected]>
Date:   Fri Jul 25 18:34:03 2014 +0200

    t/op/taint.t: Accommodate for systems without an inbuilt echo (android, 
blackberry)
-----------------------------------------------------------------------

Summary of changes:
 t/op/taint.t | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/t/op/taint.t b/t/op/taint.t
index 149a83c..607402c 100644
--- a/t/op/taint.t
+++ b/t/op/taint.t
@@ -182,7 +182,9 @@ my $TEST = 'TEST';
 
        local $ENV{PATH} = $tmp;
        is(eval { `$echo 1` }, undef);
-       like($@, qr/^Insecure directory in \$ENV\{PATH}/);
+       # Message can be different depending on whether echo
+       # is a builtin or not
+       like($@, qr/^Insecure (?:directory in )?\$ENV\{PATH}/);
     }
 
     SKIP: {

--
Perl5 Master Repository

Reply via email to