- clear file-name-length testfile

- turn on profiling
This commit is contained in:
Ward Wouts 2002-08-04 21:31:17 +00:00
parent c5b5e08461
commit 97cec78a66

View file

@ -1,4 +1,4 @@
#!/usr/local/bin/ruby
#!/usr/local/bin/ruby -w -rprofile
# $Id$
# $Source$
@ -310,7 +310,7 @@ i = 500
name = "a"*i
begin
file = File.new("#{tempdir}/#{name}", "w", "0644").close
#File.delete(name)
File.delete("#{tempdir}/#{name}")
rescue Errno::ENAMETOOLONG
i -= 1
name = "a"*i