Re: [PATCH v2] selftests: tty: add tty_tiocsti_test to .gitignore

From: Greg KH
Date: Sun Oct 26 2025 - 05:35:58 EST


On Sun, Oct 26, 2025 at 02:52:32PM +0530, Gopi Krishna Menon wrote:
> Building the tty selftests generates the tty_tiocsti_test binary, which
> appears as untracked file in git. As mentioned in the kselftest
> documentation, all the generated objects must be placed inside
> .gitignore. This prevents the generated objects from accidentally
> getting staged and keeps the working tree clean.
>
> Add the tty_tiocsti_test binary to .gitignore to avoid accidentally
> staging the build artifact and maintain a clean working tree.
>
> Link: https://docs.kernel.org/dev-tools/kselftest.html#contributing-new-tests-details
>
> Suggested-by: David Hunter <david.hunter.linux@xxxxxxxxx>
> Signed-off-by: Gopi Krishna Menon <krishnagopi487@xxxxxxxxx>
> ---
> Changelog:
> - Improve the commit wording and explain clearly why this change is needed.

What commit id does this fix?

thanks,

greg k-h