From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Tue, 3 Aug 2021 13:37:07 +0200 Subject: [LTP] [PATCH v7 2/7] test/test_zero_hugepage.sh: Skip test on read-only file system In-Reply-To: References: <20210802173536.19525-1-pvorel@suse.cz> <20210802173536.19525-3-pvorel@suse.cz> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it 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