diff --git a/.github/workflows/bsd.yml b/.github/workflows/bsd.yml index 8d2a53a..658771e 100644 --- a/.github/workflows/bsd.yml +++ b/.github/workflows/bsd.yml @@ -29,7 +29,7 @@ jobs: pkginstall: echo no packages required - name: netbsd - version: '9.3' + version: '10.0' pkginstall: pkgin -y install perl || true steps: - uses: actions/checkout@v4 diff --git a/t/kill_kill.t b/t/kill_kill.t index 6c7e27f..5a245d2 100644 --- a/t/kill_kill.t +++ b/t/kill_kill.t @@ -34,14 +34,17 @@ else { # Test 1 SCOPE: { + my $out; my $h = IPC::Run::start( [ $^X, '-e', - 'sleep while 1', - ] + '$|=1;print "running\n";sleep while 1', + ], + \undef, + \$out ); - + pump $h until $out =~ /running/; my $needed = $h->kill_kill; ok( !$needed, 'Did not need kill_kill' ); }