1
0
mirror of https://github.com/gluster/glusterfs.git synced 2026-02-07 03:48:44 +01:00
Files
glusterfs/tests/bugs/protocol
Xavi Hernandez 435eb93477 tests: fix pid check inside containers (#3477)
Inside a container, kernel's fuse module may pass 'pid' as 0 in some
cases. This caused a failure of test bugs/protocol/bug-808400-fcntl.c
when run unside a container because it was explicitly checking the pid.

Fixed it by allowing the pid to be the expected value or 0.

Change-Id: I97fbbe1311d0ab093ddb6881abc1da707e581a44
Updates: #3469
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
2022-05-04 11:47:41 +05:30
..