FileTest.identical? is currently implemented in such a way that it only compares stat info of two files, so different files with same stats would be considered equal, which is obviously wrong. This happens more often on Windows, since stat info (dates) are with granularity 1 sec or so. So the two files created quickly one after another would be considered the same!
This leads to rubyspec failures:
MRI compares not only the sizes and stat info, but the file names as well (after proper expanding).