[LTP] ksm: Fix sysfs path concatenation in ksm_test.h
Andrea Cervesato
andrea.cervesato@suse.com
Mon Jun 8 11:20:36 CEST 2026
Hi Cyril,
> @Andrea the bot still misses existing patches:
>
> $ git log 40a366b53adc
>
> commit 40a366b53adc477d950cc73f071b0cd4ebe25f85
> Author: Li Wang <li.wang@linux.dev>
> Date: Thu Jun 4 17:41:59 2026 +0800
>
> lib: Introduce tst_path_defs.h to consolidate system paths
>
> 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>
> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Yes I seen, this is really annoying. I will find a way to fix it,
but it's supposed to be fixed already.
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
More information about the ltp
mailing list