test/test_syscalls.c: refactor fcheck_* helpers
authorAmir Goldstein <amir73il@gmail.com>
Wed, 9 Jun 2021 16:04:29 +0000 (19:04 +0300)
committerNikolaus Rath <Nikolaus@rath.org>
Mon, 14 Jun 2021 08:13:12 +0000 (09:13 +0100)
commit494e15127c67a673779fa2f05c08abe6901f88c5
tree691ece3eb9ee20620976ac811c5a01c7b879a43a
parent057d6de867b6a0b1750c25ac4e4417f364d42dd6
test/test_syscalls.c: refactor fcheck_* helpers

Avoid multiple fstat() calls and consolidate all fcheck_* helpers
into fcheck_stat().

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
test/test_syscalls.c