Re: [PATCH 1/2] selftests/acct: add cleanup for leftover process_log binary

From: Shuah Khan
Date: Wed Sep 24 2025 - 19:25:07 EST


On 9/22/25 03:10, Madhur Kumar wrote:
Some kselftests generate temporary binaries that are not tracked
by TEST_GEN_PROGS. Add EXTRA_CLEAN entry to remove process_log
during `make kselftest-clean`.

Signed-off-by: Madhur Kumar <madhurkumar004@xxxxxxxxx>
---
tools/testing/selftests/acct/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/testing/selftests/acct/Makefile b/tools/testing/selftests/acct/Makefile
index 7e025099cf65..16eb97079e63 100644
--- a/tools/testing/selftests/acct/Makefile
+++ b/tools/testing/selftests/acct/Makefile
@@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
TEST_GEN_PROGS := acct_syscall
CFLAGS += -Wall
+EXTRA_CLEAN := process_log
-include ../lib.mk
\ No newline at end of file

+include ../lib.mk

Why is this deleted and added back

Please fix the patch and send v2.

thanks,
-- Shuah