tests: introduce `do_req' helper sub
commit29885f0d95aaa8e1d1f6cf3b791d9f08338a511e
authorEric Wong <BOFH@YHBT.net>
Sun, 10 Sep 2023 09:15:16 +0000 (10 09:15 +0000)
committerEric Wong <BOFH@YHBT.net>
Sun, 10 Sep 2023 19:01:03 +0000 (10 19:01 +0000)
treed894eca293a7d573e7f6cd9ad6f5d7bb8db14c2d
parent86aea575c331a3b5242db1c14a848928a37ff9e3
tests: introduce `do_req' helper sub

While early tests required fine-grained control in trickling
requests, many of our later tests can use a short one-liner
w/o having to spawn curl.
t/heartbeat-timeout.t
t/integration.t
t/lib.perl
t/reload-bad-config.t
t/reopen-logs.t
t/winch_ttin.t
t/working_directory.t