Re: [PATCH v5 1/2] lib: Introduce tst_path_defs.h to consolidate system paths
Li Wang <[email protected]>
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> > Acked-by: Andrea Cervesato <andrea.cervesato-IBi9RG/[email protected]> 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