[LTP] setregid04_16

nousi bnousilal@gmail.com
Fri Nov 18 10:51:01 CET 2016


Hi All,

please, help with the below error.

root@:/opt/ltp# ./testcases/bin/setregid04_16
setregid04_16    1  TPASS  :  real or effective gid was modified as expected
setregid04_16    2  TFAIL  :  setregid04.c:146: ERROR: After
setregid(users, -1) real gid = 100; effective gid = 65535
setregid04_16    0  TINFO  :  Expected: real gid = 100; effective gid = 0
setregid04_16    3  TFAIL  :  setregid04.c:146: ERROR: After
setregid(root,-1), real gid = 0; effective gid = 65535
setregid04_16    0  TINFO  :  Expected: real gid = 0; effective gid = 0
setregid04_16    4  TFAIL  :  setregid04.c:146: ERROR: After
setregid(-1, -1), real gid = 65535; effective gid = 65535
setregid04_16    0  TINFO  :  Expected: real gid = 0; effective gid = 0
setregid04_16    5  TFAIL  :  setregid04.c:146: ERROR: After
setregid(-1, root) real gid = 65535; effective gid = 0
setregid04_16    0  TINFO  :  Expected: real gid = 0; effective gid = 0
setregid04_16    6  TFAIL  :  setregid04.c:146: ERROR: After
setregid(root, -1), real gid = 0; effective gid = 65535
setregid04_16    0  TINFO  :  Expected: real gid = 0; effective gid = 0
setregid04_16    7  TPASS  :  real or effective gid was modified as expected
setregid04_16    8  TFAIL  :  setregid04.c:146: ERROR: After
setregid(-1, -1) real gid = 65535; effective gid = 65535
setregid04_16    0  TINFO  :  Expected: real gid = 1; effective gid = 100
setregid04_16    9  TFAIL  :  setregid04.c:146: ERROR: After
setregid(-1, users) real gid = 65535; effective gid = 100
setregid04_16    0  TINFO  :  Expected: real gid = 1; effective gid = 100

-- 
Thanks.


More information about the ltp mailing list