cleanup() is only called via 'trap cleanup EXIT', which newer shellcheck versions report as SC2329 rather than SC2317. Disable both, like the other test scripts do. (cherry picked from commit e42ad4c3b60b9bedf59f03901c88062b67a8829d)