Without the reordering of prints and without the mysterious sleep() call it
seems that prove just loses the STDERR text entirely
}
if (@fail_reasons) {
- print STDOUT "\nBail out!\n";
print STDERR <<'EOE';
-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
======================== FATAL ERROR ===========================
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
}
print STDERR "\n\n\n";
+ require Time::HiRes;
+ Time::HiRes::sleep(0.005);
+ print STDOUT "\nBail out!\n";
exit 1;
}
}