2 use test::helper qw($_real $_point);
9 open($file, '>', 'file');
14 skip('Need root to give away ownership', 4) unless ($UID == 0);
16 ok(chown(0,0,"file"),"set 0,0");
18 ok($stat[4] == 0 && $stat[5] == 0,"0,0");
19 ok(chown(1,1,"file"),"set 1,1");
21 ok($stat[4] == 1 && $stat[5] == 1,"1,1");