tests: Add mount propagation test
authorDan Nicholson <dbn@endlessos.org>
Fri, 30 Aug 2024 11:53:10 +0000 (05:53 -0600)
committerDan Nicholson <dbn@endlessos.org>
Fri, 6 Sep 2024 21:49:43 +0000 (15:49 -0600)
commitfae8941196354274b91081d1237bd293a5aaa8f3
tree4dce219ebb50ba4456d7887d168d836301972c0f
parent2b01c93cd9335c51846980e91b68a79cbdfc9a4d
tests: Add mount propagation test

This tests the current behavior of making /sysroot a private mount so
that submounts on /var do not propagate back to /sysroot. It also shows
how submounts of /sysroot do not propagate into separate mount
namespaces for the same reason.
tests/kolainst/destructive/mount-propagation.sh [new file with mode: 0755]