Hi Brian,
On Mon Jul 14 18:52:47 2008, BDFOY wrote:
Show quoted text> On Mon Jul 14 11:32:54 2008, SPURKIS wrote:
> > The bug is best described by this test case, which should be
> > run as root (unfortunately)
>
> I see that there is a problem with owner_isnt because it was failing
> when the user didn't exist.
> However, I can't reproduce the problem with owner is. Also, I see the
> same behavior with my normal user and root accounts.
You're right - I was testing with a different version of Test::File than
I thought (1.17), sorry about that. I can confirm owner_isnt() is still
failing.
Show quoted text> Can you give me some more information about your system, version of
> Perl, and so on?
Sure:
-------------------------------------------------------
1..3
Perl version: 5.008007
Test::File::VERSION: 1.25
ok 1 - foo belongs to root
# User [nonexistentuser] does not exist on this system
not ok 2 - foo belongs to nonexistentuser
# Failed test 'foo belongs to nonexistentuser'
# at t.pl line 14.
# File [foo] belongs to nonexistentuser ()
not ok 3 - foo belongs to nonexistentuser
# Failed test 'foo belongs to nonexistentuser'
# at t.pl line 15.
# Looks like you failed 2 tests of 3.