[LTP] [PATCH v2 5/5] syscalls/flock06: Rewrite to new library

Jan Stancek jstancek@redhat.com
Mon Aug 6 09:07:06 CEST 2018



----- Original Message -----
> Signed-off-by: Jinhui huang <huangjh.jy@cn.fujitsu.com>
> ---
>  testcases/kernel/syscalls/flock/flock06.c | 213
>  ++++++++----------------------
>  1 file changed, 52 insertions(+), 161 deletions(-)

Hi,

Series pushed with few minor tweaks:

flock01: fd initialized to -1, checked for >= 0 in cleanup()
flock02: added close() to a branch calling return in verify_flock()
flock04: string passed to child() function changed to reflect child parameters
flock06: two conditions made more strict by changing "== -1" to "!= 0"

Thanks,
Jan


More information about the ltp mailing list