diff options
author | Eric Wong <e@80x24.org> | 2019-11-04 02:27:23 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-11-04 02:27:45 +0000 |
commit | b5318c127af37e330e4ba059817425a596a27647 (patch) | |
tree | eafa26d756efc003d6f6697a11597dd11f0c78db /t | |
parent | b32b47fb12a3043d748f723802de923d9043d7ff (diff) | |
download | public-inbox-b5318c127af37e330e4ba059817425a596a27647.tar.gz |
curl(1) can fail and we need to invalidate the test in the rare case it fails.
Diffstat (limited to 't')
-rw-r--r-- | t/httpd-corner.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/httpd-corner.t b/t/httpd-corner.t index 4077a6d1..fbba4623 100644 --- a/t/httpd-corner.t +++ b/t/httpd-corner.t @@ -272,6 +272,7 @@ SKIP: { $n += $r; $buf =~ /\A\0+\z/ or $non_zero++; } + close $fh or die "curl errored out \$?=$?"; is($n, 30 * 1024 * 1024, 'got expected output from curl'); is($non_zero, 0, 'read all zeros'); } |