[tsan] add a printf to a test