Match the selftest output when captured_main is inlined