Clean up tmp2.out unless the test failed