From: Andrea R. <ari...@pi...> - 2004-08-30 10:20:32
|
Thanks to both of you for the explainations. Cheers, Andrea. On 30 Aug 2004, at 11:51, Dave Vasilevsky wrote: > On Aug 30, 2004, at 4:30 AM, Andrea Riciputi wrote: >> ./Command/du_sk........................ok >> 1/6 skipped: can't test permission errors as root > > Hi Andrea, > > We have various commands in Fink::Command which are perl versions of > common shell commands. The command 'du_sk' should work just like 'du > -sk'. To test it I have mostly tests that are expected to succeed, but > it's always good to have a test that's expected to fail--and the > easiest way to make 'du' fail non-trivially is to cause a permission > error. Permissions don't apply when you're testing as root, so the > test is just disabled in that case. No harm done, behavior expected, > nothing for a user of Fink to worry about. :-) > > Dave |