Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test for RT #125616 (Proc::Async not closing tapped handles)
  • Loading branch information
hoelzro committed Jul 15, 2015
1 parent 0a3a69d commit b95280f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions S17-procasync/no-runaway-file-limit.t
@@ -0,0 +1,15 @@
use v6;
use Test;

plan 1;

# RT #125616
for ^1000 {
my $proc = Proc::Async.new('cat', '/tmp/test-file', :w);
$proc.stdout.tap(-> $data {});
my $p = $proc.start;
$proc.close-stdin;
await $p;
}

pass 'made it to the end';

0 comments on commit b95280f

Please sign in to comment.