Daniel Schepler wrote:
>   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 filesystem used for building was ext3 with the dir_index option enabled
> (i.e. the default for new mke2fs -j filesystems).


This is a rather interesting problem. I have built rake in both,
pbuilder which runs on an XFS partition, and in my home directory which
is ext2. In both cases, I have not seen this problem.

I just tried that particular unit test in irb and it worked. The data
was always in alphabetical order and not in reverse order as you seem to
be seeing.

Now, I tried the exact same thing on ext3, and I get a reverse order as
you are seeing it! I'll alert upstream regarding this issue... So far
seem to be dependent on the filesystem.

Thanks for the report!

- Adam

PS. I'm guessing that the problem is that FileList does not order the
list, just fetches file system order. This causes the problems above.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to