diff --git a/tests/run.rb b/tests/run.rb index 85de43361..6566861f2 100755 --- a/tests/run.rb +++ b/tests/run.rb @@ -66,7 +66,7 @@ class Test def hash_tmp(erase = true) output = hash_file(@tmp) if (erase) - File.unlink(@tmp) + File.unlink(@tmp) if (File.exists?(@tmp)) @debug_commands.push("rm #{@tmp}") @tmp = nil end