From: Madhur Kumar <madhurkumar004@gmail.com>
To: shuah@kernel.org
Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
Madhur Kumar <madhurkumar004@gmail.com>
Subject: [PATCH v3 1/2] selftests/acct: add cleanup for leftover process_log binary
Date: Sat, 27 Sep 2025 02:56:14 +0530 [thread overview]
Message-ID: <20250926212614.684998-1-madhurkumar004@gmail.com> (raw)
In-Reply-To: <20250922091042.149117-1-madhurkumar004@gmail.com>
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@gmail.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
next prev parent reply other threads:[~2025-09-26 21:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-22 9:10 [PATCH 1/2] selftests/acct: add cleanup for leftover process_log binary Madhur Kumar
2025-09-22 9:10 ` [PATCH 2/2] selftests/cachestat: add cleanup for leftover tmpshmcstat binary Madhur Kumar
2025-09-25 19:35 ` Shuah Khan
2025-09-24 23:24 ` [PATCH 1/2] selftests/acct: add cleanup for leftover process_log binary Shuah Khan
2025-09-25 7:46 ` Madhur Kumar
2025-09-25 8:34 ` [PATCH v2 " Madhur Kumar
2025-09-25 19:23 ` Shuah Khan
2025-09-26 21:26 ` Madhur Kumar [this message]
2025-09-27 16:11 ` [PATCH v2 2/2] selftests/cachestat: add cleanup for leftover tmpshmcstat file Madhur Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250926212614.684998-1-madhurkumar004@gmail.com \
--to=madhurkumar004@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=shuah@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox