[LTP] [PATCH v2] Add more testcases in mkdir03

Cyril Hrubis chrubis@suse.cz
Thu Feb 22 16:10:10 CET 2024


Hi!
>  #define TST_ENOTDIR_DIR	"tst_enotdir/tst"
> @@ -41,6 +45,9 @@ static struct tcase {
>  	{NULL, EFAULT},
>  	{long_dir, ENAMETOOLONG},
>  	{TST_EEXIST, EEXIST},
> +	{TST_FOLDER, EEXIST},
> +	{TST_PIPE, EEXIST},
> +	{TST_SYMLINK, EEXIST},
This stil misses:

	{"/dev/zero", EEXISTS},

>  	{TST_ENOENT, ENOENT},
>  	{TST_ENOTDIR_DIR, ENOTDIR},
>  	{loop_dir, ELOOP},

Other than that:

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list