Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Pick a program that exists for Windows.
  • Loading branch information
jnthn committed Jul 15, 2015
1 parent 76676ad commit 6ffdc85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S17-procasync/no-runaway-file-limit.t
Expand Up @@ -4,8 +4,9 @@ use Test;
plan 1;

# RT #125616
my $prog = $*DISTRO.is-win ?? 'ping' !! 'cat';
for ^1000 {
my $proc = Proc::Async.new('cat', '/tmp/test-file', :w);
my $proc = Proc::Async.new($prog, '/tmp/test-file', :w);
$proc.stdout.tap(-> $data {});
my $p = $proc.start;
$proc.close-stdin;
Expand Down

0 comments on commit 6ffdc85

Please sign in to comment.