[PATCH 2/2] selftests: Replace relative includes with non-relative for kselftest.h and kselftest_harness.h
Wei Yang
richard.weiyang at gmail.com
Thu Aug 28 08:10:26 UTC 2025
On Wed, Aug 27, 2025 at 08:17:33PM +0530, Bala-Vignesh-Reddy wrote:
>Replaced relative path of kselftest.h and kselftest_harness.h
>to a non-relative path
>
>Signed-off-by: Bala-Vignesh-Reddy <reddybalavignesh9979 at gmail.com>
>
[...]
>diff --git a/tools/testing/selftests/mm/cow.c b/tools/testing/selftests/mm/cow.c
>index d30625c18259..ccbb1958d467 100644
>--- a/tools/testing/selftests/mm/cow.c
>+++ b/tools/testing/selftests/mm/cow.c
>@@ -27,7 +27,7 @@
> #endif /* LOCAL_CONFIG_HAVE_LIBURING */
>
> #include "../../../../mm/gup_test.h"
>-#include "../kselftest.h"
>+#include "kselftest.h"
> #include "vm_util.h"
> #include "thp_settings.h"
>
Well there are too many changes and I failed to apply this one on current
mm-new. So I just manually change this with patch 1 applied.
This fails when I "cd tools/testing/selftests/mm/" and then make.
The Makefile in selftests/mm doesn't include ../Makefile so ../lib.mk doesn't
know the new CFLAGS when I do build in selftests/mm directory.
--
Wei Yang
Help you, Help me
More information about the Linux-security-module-archive
mailing list