File: task.yaml

package info (click to toggle)
snapd 2.71-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 79,536 kB
  • sloc: ansic: 16,114; sh: 16,105; python: 9,941; makefile: 1,890; exp: 190; awk: 40; xml: 22
file content (14 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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'