Re: [Fink-devel] failed du_sk-tests in making fink-0.19.2.cvs-20040317

2004-03-18 Thread Daniel Macks
On Wed, Mar 17, 2004 at 06:48:52PM -0500, Dave Vasilevsky wrote: On Mar 17, 2004, at 1:22 PM, jfm wrote: I thought this was quite correct : isn't a subdirectory a file in itself ? Directories are files, yes. But why doesn't du count directories on HFS? I don't care which it does, as long

Re: [Fink-devel] failed du_sk-tests in making fink-0.19.2.cvs-20040317

2004-03-18 Thread Dave Vasilevsky
Alright, in fink cvs, du_sk now counts the same as 'du -sk' on both filesystems. I had to remove the test for du_sk(empty directory) = 0, since apparently it's not on UFS. jfm, could you please test it? Thanks. Dave PGP.sig Description: This is a digitally signed message part

[Fink-devel] failed du_sk-tests in making fink-0.19.2.cvs-20040317

2004-03-17 Thread jfm
Hi, I have no idea what causes this _ UFS shouldn't matter here, no ? ./Command/du_sk..NOK 5# Failed test (./Command/du_sk.t at line 30) # got: '83' # expected: '103' ./Command/du_sk..NOK 6# Failed test (./Command/du_sk.t at line 31) # got:

Re: [Fink-devel] failed du_sk-tests in making fink-0.19.2.cvs-20040317

2004-03-17 Thread jfm
On Mar 17, 2004, at 6:36 PM, Dave Vasilevsky wrote: It seems this answers part of the mystery: [Toaster:/Volumes/TestUFS/fink/t] vasi$ du -sk . 94 . [Toaster:/Volumes/TestUFS/fink/t] vasi$ perl -MFink::Command=du_sk -e 'print(du_sk($_),\n) for @ARGV' . 73 [Toaster:/Volumes/TestUFS/fink/t]

Re: [Fink-devel] failed du_sk-tests in making fink-0.19.2.cvs-20040317

2004-03-17 Thread Dave Vasilevsky
On Mar 17, 2004, at 1:22 PM, jfm wrote: I thought this was quite correct : isn't a subdirectory a file in itself ? Directories are files, yes. But why doesn't du count directories on HFS? I don't care which it does, as long as it's consistent. I'd like to both keep du_sk consistent with du, but