With verbosity disabled (default), the testsuite attempts to redirect stdout by assigning another FILE pointer to it. Enabling verbosity seems to be the simplest workaround to avoid this code path.