[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250926212614.684998-1-madhurkumar004@gmail.com>
Date: Sat, 27 Sep 2025 02:56:14 +0530
From: Madhur Kumar <madhurkumar004@...il.com>
To: shuah@...nel.org
Cc: linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org,
Madhur Kumar <madhurkumar004@...il.com>
Subject: [PATCH v3 1/2] selftests/acct: add cleanup for leftover process_log binary
The acct_syscall test generates a process_log binary after it runs,
but this file is not removed by 'make kselftest-clean'. Add an
EXTRA_CLEAN entry to ensure the binary gets cleaned up properly.
Signed-off-by: Madhur Kumar <madhurkumar004@...il.com>
---
v3:
- refined changed log wording
- Removed patch version info from commit log (kept only problem/fix).
v2:
- Fix newline issue at end of Makefile (caused add/delete in git diff)
- Code otherwise unchanged
---
tools/testing/selftests/acct/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/acct/Makefile b/tools/testing/selftests/acct/Makefile
index 7e025099cf65..fd14128bbddb 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
--
2.51.0
Powered by blists - more mailing lists