Skip to content

Commit

Permalink
track spec change: &run -> &shell
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Sep 5, 2011
1 parent ab15f81 commit 143c569
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions S02-magicals/env.t
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/Test/Util.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit 143c569

Please sign in to comment.