Use Test::Builder::todo_start(), replacing $::TODO.
authorNoah Misch <noah@leadboat.com>
Thu, 10 Feb 2022 02:16:59 +0000 (18:16 -0800)
committerNoah Misch <noah@leadboat.com>
Thu, 10 Feb 2022 02:16:59 +0000 (18:16 -0800)
commitadbd00f7a59bcfbcd6907858499c94a27c6680ed
tree766bd648607550c1499ca2a67e88cb43c5cdd42b
parent0147fc7c8c92ee22910f40b1740425f43382bc95
Use Test::Builder::todo_start(), replacing $::TODO.

Some pre-2017 Test::More versions need perfect $Test::Builder::Level
maintenance to find the variable.  Buildfarm member snapper reported an
overall failure that the file intended to hide via the TODO construct.
That trouble was reachable in v11 and v10.  For later branches, this
serves as defense in depth.  Back-patch to v10 (all supported versions).

Discussion: https://postgr.es/m/20220202055556.GB2745933@rfd.leadboat.com
contrib/amcheck/t/003_cic_2pc.pl
src/test/recovery/t/027_stream_regress.pl