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

Cyril Hrubis
2024-08-01T12:17:56Z

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