• Pavel Emelyanov's avatar
    test: Rework the ext mount plugin test · ec5b0d84
    Pavel Emelyanov authored
    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: 's avatarPavel Emelyanov <xemul@parallels.com>
    ec5b0d84
Name
Last commit
Last update
..
app-emu Loading commit data...
bers Loading commit data...
crit Loading commit data...
ext-links Loading commit data...
fault-injection Loading commit data...
jenkins Loading commit data...
libcriu Loading commit data...
mem-snap Loading commit data...
mounts Loading commit data...
pipes Loading commit data...
rpc Loading commit data...
security Loading commit data...
tcp Loading commit data...
unix-callback Loading commit data...
zdtm Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
Makefile.zdtm Loading commit data...
app-emu.sh Loading commit data...
env.sh Loading commit data...
functions.sh Loading commit data...
maps.py Loading commit data...
post-dump.sh Loading commit data...
zdtm.sh Loading commit data...
zdtm_ct.c Loading commit data...
zdtm_mount_cgroups Loading commit data...