[LTP] [PATCH V6 05/10] syscalls/fsconfig: New tests

Petr Vorel pvorel@suse.cz
Tue Mar 17 22:33:38 CET 2020


Hi Viresh,

> +	TEST(fd = fsopen(tst_device->fs_type, 0));
> +	if (fd == -1)
> +		tst_brk(TBROK | TERRNO, "fsopen() failed");
Just a note all these tst_brk/tst_res after TEST() should use TTERRNO, not TERRNO.
Although TERRNO will probably work in this case as well, it'd be better to use
TTERRNO (see lib/tst_res.c).

Kind regards,
Petr


More information about the ltp mailing list