File: task.yaml

package info (click to toggle)
snapd 2.72-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 80,412 kB
  • sloc: sh: 16,506; ansic: 16,211; python: 11,213; makefile: 1,919; exp: 190; awk: 58; xml: 22
file content (14 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (4)
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'