github.com/kubiko/snapd@v0.0.0-20201013125620-d4f3094d9ddf/cmd/snap-confine/spread-tests/main/media-visible-in-devmode/task.yaml (about) 1 summary: Check that /media is available to snaps installed in --devmode 2 # This is blacklisted on debian because we first have to get the dpkg-vendor patches 3 systems: [-debian-8] 4 prepare: | 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 /media" 8 echo "test" > /media/canary 9 execute: | 10 cd / 11 echo "We can see the canary file in /media" 12 [ "$(snapd-hacker-toolbelt.busybox cat /media/canary)" = "test" ] 13 restore: | 14 snap remove --purge snapd-hacker-toolbelt 15 rm -f /media/canary