No test should ever read from the inherited stdin. For scripts, the robust thing to do is put "exec < /dev/null" somewhere near the top. For test programs run by the generic $< > $@ rule, we should just add < /dev/null to that command.