Permalink
Browse files

track spec change: &run -> &shell

  • Loading branch information...
1 parent ab15f81 commit 143c569581cdd3dc01498604c7abaa8469bdb435 @moritz moritz committed Sep 5, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 S02-magicals/env.t
  2. +1 −1 packages/Test/Util.pm
View
@@ -55,7 +55,7 @@ my $tempfile = "temp-ex-output." ~ $*PID ~ "." ~ 1000.rand;
my $command = qq!$*EXECUTABLE_NAME -e "\%*ENV.perl.say" $redir $tempfile!;
diag $command;
-run $command;
+shell $command;
my $child_env = slurp $tempfile;
my %child_env = eval $child_env;
@@ -86,7 +86,7 @@ ok(!%*ENV.exists('PUGS_ROCKS'), 'We can remove keys from %*ENV');
$command = qq!$*EXECUTABLE_NAME -e "\%*ENV.perl.say" $redir $tempfile!;
diag $command;
-run $command;
+shell $command;
$child_env = slurp $tempfile;
%child_env = eval $child_env;
View
@@ -96,7 +96,7 @@ sub get_out( Str $code, Str $input?, :@args) is export {
$cmd ~= $fnbase ~ '.code' if $code.defined;
$cmd ~= " @actual_args.join(' ') < $fnbase.in > $fnbase.out 2> $fnbase.err";
# diag("Command line: $cmd");
- %out<status> = run( $cmd );
+ %out<status> = shell( $cmd );
%out<out> = slurp "$fnbase.out";
%out<err> = slurp "$fnbase.err";

0 comments on commit 143c569

Please sign in to comment.