Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix t/run.t to work on "perl in space" #100

Merged
merged 1 commit into from Mar 18, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions t/run.t
Expand Up @@ -176,7 +176,7 @@ $fd_map = _map_fds;
##
## Calling the local system shell
##
ok( run qq{$perl -e exit} );
ok( run qq{"$perl" -e exit} );
is( $?, 0 );

is( _map_fds, $fd_map );
Expand All @@ -186,7 +186,7 @@ SKIP: {
skip( "$^O's shell returns 0 even if last command doesn't", 3 );
}

ok( !run(qq{$perl -e 'exit(42)'}) );
ok( !run(qq{"$perl" -e 'exit(42)'}) );
ok($?);
is( $? >> 8, 42 );
}
Expand Down