commit 91971201e545529098ac2b9bc374a383a637e28f from: Omar Polo date: Sat Mar 26 10:56:06 2022 UTC break out if check_reply fails it's not a problem when we have only one check_reply at then end, since $? is kept across function boundaries, but when we have multiple checks we need to quit on the first error. commit - 894e998423b80574490efa9c50ad82adfa874b47 commit + 91971201e545529098ac2b9bc374a383a637e28f blob - c736a40013b06603c888111494b0fbfd5015b6d2 blob + 0ee543b86682af8a853e7856b1fd5f6086c401fc --- regress/tests.sh +++ regress/tests.sh @@ -375,11 +375,11 @@ test_include_mime() { setup_simple_test "types { include '$PWD/example.mime.types' }" "" fetch_hdr / - check_reply '20 text/gemini' + check_reply '20 text/gemini' || return 1 fetch_hdr /test.m3u8 - check_reply '20 application/vnd.apple.mpegurl' + check_reply '20 application/vnd.apple.mpegurl' || return 1 fetch_hdr /foo.1 - check_reply '20 text/x-mandoc' + check_reply '20 text/x-mandoc' || return 1 }