[LTP] [PATCH v1] hugemmap11.c: Change NORMAL_PATH to current working directory
Wei Gao
wegao@suse.com
Thu Aug 29 13:41:24 CEST 2024
Following error will happen on sle-micro system since "/" is read only
tst_test.c:1062: TBROK: open(/ltp_hug9Iy6OR,16578,10247520240) failed: EROFS (30)
Signed-off-by: Wei Gao <wegao@suse.com>
---
testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c
index 496a814b5..67fca2ddf 100644
--- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c
+++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c
@@ -23,7 +23,7 @@
#define P0 "ffffffff"
#define IOSZ 4096
-#define NORMAL_PATH ""
+#define NORMAL_PATH "./"
#define MNTPOINT "hugetlbfs/"
static long hpage_size;
--
2.35.3
More information about the ltp
mailing list