[LTP] [PATCH v2 4/6] Rewrite utime04.c using new LTP API
Richard Palethorpe
rpalethorpe@suse.de
Mon Jul 4 15:31:56 CEST 2022
Hello,
>
> -/*
> - * void
> - * cleanup() - performs all ONE TIME cleanup for this test at
> - * completion or premature exit.
> - * Remove the test directory and testfile created in the setup.
> - */
> -void cleanup(void)
> -{
> -
> - tst_rmdir();
> -
> -}
> +static struct tst_test test = {
> + .test_all = run,
> + .setup = setup,
> + .needs_root = 1,
> + .needs_tmpdir = 1
> +};
> --
> 2.36.1
Why don't we do this one on all file systems as well?
--
Thank you,
Richard.
More information about the ltp
mailing list