Fix ignored return value in test code

The perlcritic check in the buildfarm alerted that the new test suites
for online checksums didn't check the return value from read().  Fix by
checking the return and ensuring the read call didn't fail.  Per build-
farm member crake.

https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=crake&dt=2026-09-14%2015%3A04%3A18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6e70bef24e480eed3e0af0480c1bc7c0208833c8

Modified Files
--------------
src/test/modules/test_checksums/t/016_promote_enable_crash.pl | 3 ++-
src/test/modules/test_checksums/t/017_restartpoint_race.pl    | 3 ++-
src/test/modules/test_checksums/t/018_enable_crash_windows.pl | 9 ++++++---
3 files changed, 10 insertions(+), 5 deletions(-)

Reply via email to