test/data: add mount_flags.py helper script

Add a new helper script to check if a mount / file-system was
mounted with specific flags. Currently only "ro", "nosuid",
"nodev" and "noexec" flags are supported. This script is in
test/data since it will be used from other tests and is itself
not a test per se.
This commit is contained in:
Christian Kellner 2020-08-12 13:42:19 +02:00
parent 28cea491bd
commit bcfc2ca29a
2 changed files with 54 additions and 0 deletions

View file

@ -41,3 +41,7 @@ do not allow comments, this file shortly describes their purpose.
This directory contains test-data for runtime tests of the source-engines. It
contains a directory that is served via HTTP in the tests, and a directory of
test-cases what to expect when using the attached `sources.json`.
* `scripts`:
This directory contains scripts used from other tests, i.e. although they are
executables they are at the same time test-data to the actual (unit) tests.