[LTP] [PATCH V6 10/10] syscalls/open_tree: New tests
Petr Vorel
pvorel@suse.cz
Fri Mar 13 09:48:35 CET 2020
Hi Viresh,
> diff --git a/testcases/kernel/syscalls/open_tree/open_tree01.c b/testcases/kernel/syscalls/open_tree/open_tree01.c
...
> +static void setup(void)
> +{
> + fsopen_supported_by_kernel();
> + SAFE_MKDIR(OT_MNTPOINT, 0777);
This fails, because setup (and cleanup) is run fo each filesystem. Therefore it
needs to be created just once.
safe_macros.c:172: BROK: open_tree01.c:27: mkdir(ot_mntpoint,0777) failed: EEXIST (17)
Kind regards,
Petr
More information about the ltp
mailing list