The unit tests below work perfectly on ext2 and xfs. They break on a
default ext3 filesystem.

  1) Failure:
test_inspect_pending(TestFileList) [./test/test_filelist.rb:212]:
<"[\"testdata/abc.c\", \"testdata/abc.h\", \"testdata/abc.x\"]">
expected but was
<"[\"testdata/abc.x\", \"testdata/abc.h\", \"testdata/abc.c\"]">.

  2) Failure:
test_to_s_pending(TestFileList) [./test/test_filelist.rb:207]:
<"testdata/abc.c testdata/abc.h testdata/abc.x"> expected but was
<"testdata/abc.x testdata/abc.h testdata/abc.c">.

The problem seems to be that rake does not order the file list, just
relies on the underlying file system to return it in the "correct" order.

For the complete bug report, see http://bugs.debian.org/462817

Any thoughts? Or the fix is just to use sort after resolve_add is done?

- Adam
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to