Skip to content
Commit a52a66f6 authored by Qiang Huang's avatar Qiang Huang Committed by Pavel Emelyanov
Browse files

zdtm: add posix file lock's test case



We check read lock and write lock for posix file locks. After restore,
we use fcntl(fd, F_GETLK, &lock), to see if the file is hold the same
lock as it was dumped.

Signed-off-by: default avatarQiang Huang <h.huangqiang@huawei.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 882005a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment