Skip to content

Commit

Permalink
hugemmap11.c: Change NORMAL_PATH to current working directory
Browse files Browse the repository at this point in the history
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)

Link: https://lore.kernel.org/ltp/[email protected]/
Reviewed-by: Petr Vorel <[email protected]>
Reviewed-by: Li Wang <[email protected]>
Signed-off-by: Wei Gao <[email protected]>
  • Loading branch information
coolgw authored and pevik committed Sep 2, 2024
1 parent ec54069 commit a7cdea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testcases/kernel/mem/hugetlb/hugemmap/hugemmap11.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#define P0 "ffffffff"
#define IOSZ 4096
#define NORMAL_PATH ""
#define NORMAL_PATH "./"
#define MNTPOINT "hugetlbfs/"

static long hpage_size;
Expand Down

0 comments on commit a7cdea2

Please sign in to comment.