From: Li Wang <li.wang@linux.dev>
To: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v5 1/2] lib: Introduce tst_path_defs.h to consolidate system paths
Date: Thu, 4 Jun 2026 17:52:01 +0800 [thread overview]
Message-ID: <aiFKwQ163zjrPA2t@linux.dev> (raw)
In-Reply-To: <20260604094200.21643-1-li.wang@linux.dev>
Li Wang wrote:
> We have a lot of hardcoded strings and duplicated macros for /proc
> and /sys paths scattered throughout the testcases.
>
> This patch introduces a new common header, tst_path_defs.h, to centralize
> and standardize these path definitions. By unifying these macros, we
> reduce code duplication, improve maintainability, and ensure consistent
> path usage across the entire LTP codebase.
>
> Signed-off-by: Li Wang <li.wang@linux.dev>
> Acked-by: Andrea Cervesato <andrea.cervesato@suse.com>
Forgot to paste the notes:
v5:
* add PATH_{KERN|USER} strings
* change MM_KSM_FP()/NET_IPV4_FP() to explicit paths
* rebase to the main branch
--
Regards,
Li Wang
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-06-04 9:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-04 9:41 [LTP] [PATCH v5 1/2] lib: Introduce tst_path_defs.h to consolidate system paths Li Wang
2026-06-04 9:42 ` [LTP] [PATCH v5 2/2] metaparse: Explicitly parse essential headers for macros Li Wang
2026-06-04 9:47 ` Cyril Hrubis
2026-06-04 9:50 ` [LTP] [PATCH v5 1/2] lib: Introduce tst_path_defs.h to consolidate system paths Cyril Hrubis
2026-06-04 9:57 ` Li Wang
2026-06-05 5:18 ` Li Wang
2026-06-04 9:52 ` Li Wang [this message]
2026-06-04 11:37 ` [LTP] " linuxtestproject.agent
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=aiFKwQ163zjrPA2t@linux.dev \
--to=li.wang@linux.dev \
--cc=ltp@lists.linux.it \
/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