commit e1cbb2edef562c0dffd91fbf86bd3cecdf2cdb21
Author: Sergey Poznyakoff <gray@gnu.org>
Date:   Mon Aug 12 17:33:37 2024 +0300
Forwarded: not-needed

    Minor change in poundharness:
    
    * tests/poundharness.pl (runcom): Continue reading the output until
    at least one of the fds remains ready for reading.

diff --git a/tests/poundharness.pl b/tests/poundharness.pl
index 0d8541a..a7e9a54 100644
--- a/tests/poundharness.pl
+++ b/tests/poundharness.pl
@@ -805,7 +805,7 @@ sub runcom {
     my @ready;
     my %data = ( $child_stdout => '', $child_stderr => '' );
 
-    while (!defined($status_codes{$pid}) && (@ready = $sel->can_read)) {
+    while (@ready = $sel->can_read) {
 	foreach my $fh (@ready) {
 	    my $data;
 	    while (1) {
