Skip to content
Commit ec5b0d84 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

test: Rework the ext mount plugin test



The existing set of shell scripts do hard-to-debug things and mess
with the root filesystem. We can make it better.

First, not to play with the system / the process that will be run in
a new mount namespace is statically compiled .c file. And this "init"
does a very simple thing -- waits for SIGTERM and check that the
given filepath contains the given string.

Second, the namespace's root will be some subdir, instead of system
/ bind-mount-ed into a subdir. This makes it easier to keep things
together and makes 100% sure the external bind mount cannot be
accessed by custom path.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent b508ebcb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment