failtest: fix history when --failpath used