1
summary: Check that /root is bind mounted to the real /root
2
# This is blacklisted on debian because we first have to get the dpkg-vendor patches
5
echo "Having installed the snapd-hacker-toolbelt snap in devmode"
6
snap install --devmode snapd-hacker-toolbelt
7
echo "Having added a canary file in /root"
8
echo "test" > /root/canary
11
echo "We can see the canary file in /root"
12
[ "$(snapd-hacker-toolbelt.busybox cat /root/canary)" = "test" ]
14
snap remove snapd-hacker-toolbelt