>>>>> "BR" == Bill Ricker <[email protected]> writes:

  >> i am getting an error report on the new file::slurp on netbsd. it is in
  >> error.t so if you can run that test and tell me what is happening, it
  >> would be great.

  BR> If no one has one ready, you can boot a temporary with no install via
  BR> the Live CD

moot point already. turns out it wasn't an OS or a perl version
issue. one of the oddest bugs (or test failure) i have ever seen before.

turns out the test runs fine as a regular user but fails when run as
root! some of the cpan testers were doing installs of file::slurp as
root and they saw the errors but others running as a regular user
didn't.

the test was the one in error.t that forces rename to fail. i went over
this in the talk. it created a dir with a file in it and then changed
the dir permissions to a-x so the file couldn't be renamed. but
guess what? root ignores those permissions and so it succeeds in
renaming. which means the test failed (success means rename failed!). i
fixed it by rewriting the test to use the same override code i use to
force sysread/syswrite to fail. root can't overcome a broken core
function.

so look for slurp .15 going up asap.

thanx,

uri

-- 
Uri Guttman  ------  [email protected]  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to