mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
17 lines
588 B
YAML
17 lines
588 B
YAML
summary: Check that "snap interface" works as expected
|
|
|
|
details: |
|
|
The "snap interface" command displays a listing of used interfaces
|
|
|
|
execute: |
|
|
"$TESTSTOOLS"/snaps-state install-local network-consumer
|
|
snap interface | MATCH 'network\s+ allows access to the network'
|
|
snap interface --all | MATCH 'classic-support\s+ special permissions for the classic snap'
|
|
snap interface network > out.yaml
|
|
if snap list snapd 2>/dev/null; then
|
|
diff -u out.yaml snap-interface-network-snapd.yaml
|
|
else
|
|
diff -u out.yaml snap-interface-network-core.yaml
|
|
fi
|
|
|