[LTP] [PATCH v2 4/4] syscalls: lchown03: Convert to new API
Andrea Cervesato
andrea.cervesato@suse.com
Thu Aug 7 13:28:55 CEST 2025
Hi!
On 8/6/25 11:07 PM, Ricardo B. Marlière via ltp wrote:
> static struct test_case_t {
> char *pathname;
> + char *desc;
> int exp_errno;
> } test_cases[] = {
> - {test_eloop, ELOOP},
> - {TEST_EROFS, EROFS},
> + { NULL, "Too many symlinks", ELOOP },
Here the same of lchown02: we can have a **pathname and initialize the
pointer to the string initialized inside .bufs.
Take some other tests as reference to understand exactly what I mean.
For instance, access04.
- Andrea
More information about the ltp
mailing list