From: Peter Rabbitson Date: Wed, 7 Jul 2010 23:45:49 +0000 (+0200) Subject: Perlbrew caught a missed /usr/bin/perl invocation X-Git-Tag: v0.08124~121 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f9c86f87ad2cc10ec0d5573cceb59e776551729b;hp=e1b7e9b4ead77ee05830c2462cdb96c778b534f8;p=dbsrgits%2FDBIx-Class.git Perlbrew caught a missed /usr/bin/perl invocation --- diff --git a/t/admin/10script.t b/t/admin/10script.t index 5203565..abcd2f9 100644 --- a/t/admin/10script.t +++ b/t/admin/10script.t @@ -28,7 +28,7 @@ for my $js (@json_backends) { eval {JSON::Any->import ($js) }; SKIP: { - skip ("Json backend $js is not available, skip testing", $tests_per_run) if $@; + skip ("JSON backend $js is not available, skip testing", $tests_per_run) if $@; $ENV{JSON_ANY_ORDER} = $js; eval { test_dbicadmin () }; @@ -56,7 +56,7 @@ sub test_dbicadmin { SKIP: { skip ("MSWin32 doesn't support -| either", 1) if $^O eq 'MSWin32'; - open(my $fh, "-|", ( 'script/dbicadmin', default_args(), qw|--op=select --attrs={"order_by":"name"}| ) ) or die $!; + open(my $fh, "-|", ( $^X, 'script/dbicadmin', default_args(), qw|--op=select --attrs={"order_by":"name"}| ) ) or die $!; my $data = do { local $/; <$fh> }; close($fh); if (!ok( ($data=~/Aran.*Trout/s), "$ENV{JSON_ANY_ORDER}: select with attrs" )) {