[LTP] [PATCH v2 1/2] syscalls/faccessat01: Convert to new API

Cyril Hrubis chrubis@suse.cz
Wed Aug 23 16:28:32 CEST 2023


Hi!
> +static struct tst_test test = {
> +	.test = verify_faccessat,
> +	.tcnt = ARRAY_SIZE(tcases),
> +	.setup = setup,
> +	.cleanup = cleanup,
> +	.bufs = (struct tst_buffers []) {
> +		{&test_file, .str = TESTFILE},
> +		{&abs_path, .size = sizeof(char)},
                   ^
		   I've removed this line, since we allocate the
		   abs_path dynamically in the test setup and pushed
		   both patches, thanks.

> +		{&file_path, .str = FILEPATH},
> +		{},
> +	},
> +	.needs_tmpdir = 1,
> +};
> -- 
> 2.39.1
> 
> 
> -- 
> Mailing list info: https://lists.linux.it/listinfo/ltp

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list