commit 89c110fe7befaee2b446873a351e0833c3c884b6 from: Omar Polo date: Tue Jun 15 08:07:44 2021 UTC be quieter nobody really cares if must_read fails, as it normally shouldn't. It only clutters the regression tests with scary messages that looks like failure but are, in fact, expected. commit - e952c5052a0c524eee6d8151b1af96ce2c94ca18 commit + 89c110fe7befaee2b446873a351e0833c3c884b6 blob - da4bc187cec06f3acbc024273bb82a784901d51c blob + 96247a4d71c333a40d84cb2b29c98477cafdbb3b --- regress/fcgi-test.c +++ regress/fcgi-test.c @@ -23,6 +23,7 @@ #include #include +#include #include #include @@ -114,7 +115,7 @@ static void read_header(struct fcgi_header *hdr) { if (must_read(0, hdr, sizeof(*hdr)) == -1) - errx(1, "must_read failed"); + exit(1); } /* read and consume a record of the given type */