Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: bbd21b340219e33e5603768033f78c673149bc9b
      
https://github.com/Perl/perl5/commit/bbd21b340219e33e5603768033f78c673149bc9b
  Author: Christian Walde <walde.christ...@gmail.com>
  Date:   2020-09-16 (Wed, 16 Sep 2020)

  Changed paths:
    M t/test.pl

  Log Message:
  -----------
  prevent a spurious error output from test.pl when killing a cygwin process

Under Cygwin a process can sometimes take a little while to spool down
after being killed. There already is code to wait a second and retry.
However if the process has already disappeared in the wait second, then the
retry is engaged anyhow and will then complain it can't find the process.

This change makes it so test.pl only truly attempts to kill a cygwin
process if it actually is still around.

This resolves the secondary bug in #18129.

Reply via email to