- clear file-name-length testfile
- turn on profiling
This commit is contained in:
parent
c5b5e08461
commit
97cec78a66
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue