[LTP] [PATCH v7 2/7] test/test_zero_hugepage.sh: Skip test on read-only file system

Cyril Hrubis
2021-08-03T11:37:07Z

Hi!
> > I wonder if we should rather check if proc is mounted readonly
> > explicitly since this may hide all kinds of errors.
> Sure, makes sense, I'll adapt it in v8. It's just not a fun to write tests which
> you cannot debug on VM, but just pushing to git :(.

Well I guess that you can remount proc RO on your testing machine with
something as:

mount -o remount,ro /proc

--
Cyril Hrubis
chrubis@suse.cz