Re: [LTP] [PATCH v3 2/2] testcase: make use of needs_cmd version check

Petr Vorel
2021-12-09T20:49:22Z

Hi Xu,

Reviewed-by: Petr Vorel <pvorel@suse.cz>

> testcases/kernel/syscalls/quotactl/quotactl04.c | 11 +----------
> testcases/kernel/syscalls/statx/statx05.c | 13 ++-----------
> 2 files changed, 3 insertions(+), 21 deletions(-)

NOTE: you could also remove #include <stdio.h> from both files,
it was needed only for popen() pclose() and fscanf()

Kind regards,
Petr