Hi All,

            When I try to execute the following test cases I get the following errors

 

  1. chown04

chown04     1  FAIL  :  chown() returned 0, expected -1, errno:1

chown04     2  FAIL  :  chown() returned 0, expected -1, errno:13

chown04     3  PASS  :  chown() fails, Address beyond address space, errno:14

chown04     4  PASS  :  chown() fails, Negative address, errno:14

chown04     5  PASS  :  chown() fails, Pathname too long, errno:78

chown04     6  PASS  :  chown() fails, Pathname is empty, errno:2

chown04     7  PASS  :  chown() fails, Path contains regular file, errno:20

 

  1. fchown04

fchown04    1  BROK  :  Fail to modify tfile_1 ownership(s)!

fchown04    2  BROK  :  Remaining cases broken

 

  1. lchown02

lchown02    1  FAIL  :  lchown() returned 0, expected -1, errno:1

lchown02    2  FAIL  :  lchown() returned 0, expected -1, errno:13

lchown02    3  PASS  :  lchown() fails, Address beyond address space, errno:14

lchown02    4  PASS  :  lchown() fails, Negative address, errno:14

lchown02    5  PASS  :  lchown() fails, Pathname too long, errno:78

lchown02    6  PASS  :  lchown() fails, Pathname is empty, errno:2

lchown02    7  PASS  :  lchown() fails, Path contains regular file, errno:20

 

So, can anybody please tell me what can be the problem?

 

 

Regards,

K Suman Rajkumaar

Software Engineer,

LGSI Cherry Hills,

Embassy GolfView Links Business Park,

(Koramangala - Indiranagar),

Bangalore - 560 071.

Tel : 55155128

 

#########################################################
THIS EMAIL MESSAGE IS FOR THE SOLE USE OF THE INTENDED
RECIPIENT(S) AND MAY CONTAIN CONFIDENTIAL AND PRIVILEGED
INFORMATION. ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR
DISTRIBUTION IS PROHIBITED.BEFORE OPENING ANY ATTACHMENTS
PLEASE CHECK FOR VIRUSES AND DEFECTS.IF YOU ARE NOT THE
INTENDED RECIPIENT, PLEASE NOTIFY US IMMEDIATELY BY REPLY
E-MAIL AND DELETE THE ORIGINAL MESSAGE.
##########################################################