Skip to content

Commit

Permalink
fix t/pmc/spawnw.t, test passed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Zhuo committed May 1, 2012
1 parent f71f8b1 commit 0b9731d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions t/op/spawnw.t
Expand Up @@ -32,7 +32,7 @@ Test negative return codes.
=head1 SEE ALSO
The special variable \$? in Perl 5.
The special variable $? in Perl 5.
=head1 AUTHOR
Expand Down Expand Up @@ -79,7 +79,7 @@ OUTPUT

pir_output_is( <<"CODE", <<'OUTPUT', "exit code: 3" );
.sub _main :main
set \$S1, '\$perl -e "exit(3)"'
set \$S1, '$perl -e "exit(3)"'
set \$I1, 99
spawnw \$I1, \$S1
shr \$I2, \$I1, 8
Expand All @@ -98,7 +98,7 @@ pir_output_is( <<"CODE", <<'OUTPUT', "exit code: 0" );
.sub _main :main
new \$P0, 'ResizablePMCArray'
set \$P0, 3
set \$P0[0], '\$perl'
set \$P0[0], '$perl'
set \$P0[1], "-e"
set \$P0[2], "exit(0)"
set \$I1, 99
Expand All @@ -117,7 +117,7 @@ pir_output_is( <<"CODE", <<'OUTPUT', "exit code: 123" );
.sub _main :main
new \$P0, 'ResizablePMCArray'
set \$P0, 3
set \$P0[0], '\$perl'
set \$P0[0], '$perl'
set \$P0[1], "-e"
set \$P0[2], "exit(123)"
set \$I1, 99
Expand All @@ -136,7 +136,7 @@ pir_output_is( <<"CODE", <<'OUTPUT', "exit code: 3" );
.sub _main :main
new \$P0, 'ResizablePMCArray'
set \$P0, 3
set \$P0[0], '\$perl'
set \$P0[0], '$perl'
set \$P0[1], "-e"
set \$P0[2], "exit(3)"
set \$I1, 99
Expand Down Expand Up @@ -165,7 +165,7 @@ loop:
end:
\$S0 = concat \$S0, "}) / 100"
new args, 'ResizablePMCArray'
push args, '\$perl'
push args, '$perl'
push args, "-e"
push args, \$S0
\$I0 = spawnw args
Expand Down

0 comments on commit 0b9731d

Please sign in to comment.