[LTP] [PATCH] open08.c: Docparse format and rewording of description

Petr Vorel pvorel@suse.cz
Mon Jul 11 08:24:52 CEST 2022


Hi Avinesh,

> + * Verify that open() fails with:
Here needs to be blank line otherwise the result would be wrongly formatted:

Verify that open() fails with: - EEXIST when pathname already exists and O_CREAT and O_EXCL were used - EISDIR when pathname refers to a directory and the access requested involved writing - ENOTDIR when O_DIRECTORY was specified and pathname was not a directory - ENAMETOOLONG when pathname was too long - EACCES when requested access to the file is not allowed - EFAULT when pathname points outside the accessible address space

Please next time verify the result (cd metadata && make && $BROWSER ../docparse/*.html

Merged with this fix, removed docs and space behind #define.

Kind regards,
Petr

> + * - EEXIST when pathname already exists and O_CREAT and O_EXCL were used.
> + * - EISDIR when pathname refers to a directory and the access requested
> + * involved writing.
> + * - ENOTDIR when O_DIRECTORY was specified and pathname was not a directory.
> + * - ENAMETOOLONG when pathname was too long.
> + * - EACCES when requested access to the file is not allowed.
> + * - EFAULT when pathname points outside the accessible address space.
>   */

>  #define _GNU_SOURCE		/* for O_DIRECTORY */


More information about the ltp mailing list