testsuite: Work around #12554