Re: [PATCH] scripts/remove-stale-files: clean up stale lib/test_fortify.log

From: Kees Cook
Date: Thu Aug 08 2024 - 14:01:51 EST


On Thu, Aug 08, 2024 at 11:42:36PM +0900, Masahiro Yamada wrote:
> Commit 6eeccc5361e8 ("fortify: refactor test_fortify Makefile to fix some
> build problems") moved test_fortify.log from lib/ to lib/test_fortify/.
>
> If lib/test_fortify.log from previous builds remains, Git will show it as
> an untracked file. Let's clean it up.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> Kees,
> Please apply this to your tree.

Ah, thanks! I didn't know about this script.

> Or, if you can modify your branch, please squash this to 6eeccc5361e8

Yes; I've squashed it now.

-Kees

>
> scripts/remove-stale-files | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/scripts/remove-stale-files b/scripts/remove-stale-files
> index f38d26b78c2a..8fc55a749ccc 100755
> --- a/scripts/remove-stale-files
> +++ b/scripts/remove-stale-files
> @@ -21,3 +21,5 @@ set -e
> # then will be really dead and removed from the code base entirely.
>
> rm -f *.spec
> +
> +rm -f lib/test_fortify.log
> --
> 2.43.0
>

--
Kees Cook