summary: The snap named 'core' is preferred to the snap 'ubuntu-core'
prepare: |
    snap install --devmode snapd-hacker-toolbelt
    snap install core
execute: |
    snapd-hacker-toolbelt.busybox cat /meta/snap.yaml | grep -q -F 'name: core'
restore: |
    snap remove --purge snapd-hacker-toolbelt
    # XXX: the core snap cannot be removed, we should use a trick to remove it
    # in some other way but this can wait.
