summary: check that snap debug get-base-declaration works
details: |
The base-declaration debug aspect is intended for the security team so
that they can easily review the whole base declaration, however it is
stored inside the snapd code.
execute: |
snap debug base-declaration | MATCH 'type: base-declaration'
# The string "$builtin" terminates the declaration
#shellcheck disable=SC2016
snap debug base-declaration | MATCH '^\$builtin$'
# deprecated variant
snap debug get-base-declaration | MATCH 'type: base-declaration'
|