On Wed, Nov 16, 2022 at 08:09:11PM -0400, Joel Savitz wrote:
However, I noticed that on the mm-everything branch, the hugepage-mmap test fails:
# ./run_vmtests.sh -t "hugetlb" running: ./hugepage-mmap
running ./hugepage-mmap
Open failed: No such file or directory [FAIL] ...
It appears this is due to commit 0796c7b8be84 ("selftests/vm: drop mnt point for hugetlb in run_vmtests.sh") as the test still replies on the ./huge mountpoint removed in that commit. The test passes before that patchset is applied.
Oops, sorry I totally overlooked this hard-coded test case using the mntpoint.
Fix is simple though, which is attached.