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

Masahiro Yamada posted 1 patch 1 year, 6 months ago
scripts/remove-stale-files | 2 ++
1 file changed, 2 insertions(+)
[PATCH] scripts/remove-stale-files: clean up stale lib/test_fortify.log
Posted by Masahiro Yamada 1 year, 6 months ago
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@kernel.org>
---

Kees,
Please apply this to your tree.
Or, if you can modify your branch, please squash this to 6eeccc5361e8

 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
Re: [PATCH] scripts/remove-stale-files: clean up stale lib/test_fortify.log
Posted by Kees Cook 1 year, 6 months ago
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@kernel.org>
> ---
> 
> 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