This commit is contained in:
Moritz Bunkus 2005-09-03 12:08:10 +00:00
parent 3cdfb8b3fe
commit 0f82880d15

View File

@ -25,7 +25,7 @@ class Test
n = "mkvtoolnix-auto-test-" + $$.to_s + "-" n = "mkvtoolnix-auto-test-" + $$.to_s + "-"
Dir.entries("/tmp").each do |e| Dir.entries("/tmp").each do |e|
File.unlink("/tmp/#{e}") if ((e =~ /^#{n}/) and File.unlink("/tmp/#{e}") if ((e =~ /^#{n}/) and
File.exists?("/tmp/#{e}"))) File.exists?("/tmp/#{e}"))
end end
end end