[LTP] [PATCH v1] cpuset_memory_test.c: Use $TMPDIR as prefix for HUGEPAGE file path

Cyril Hrubis chrubis@suse.cz
Thu Aug 1 14:20:00 CEST 2024


Hi!
> Test case will fail with following error if running operation system
> which force root path read ONLY.
> 
> mkdir: cannot create directory ‘/hugetlb’: Read-only file system

Can we please stop applying band aids over the mess called cpuset tests
and start actually rewriting them into something saner?

I would start by reimplementing the test6 as a separate C testcase so
that we can make use of all the infrastructure for hugepages we have in
the tst_test.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list