Ubuntu Pastebin

Paste from Federico Gimenez Nieto at Thu, 30 Mar 2017 13:02:58 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
2017/03/30 11:07:54 Error executing external:ubuntu-core-16-arm-64:tests/main/snap-get : 
-----
+ echo 'Test that snap get fails on a snap without any hooks'
Test that snap get fails on a snap without any hooks
++ snap get basic foo
error: snap "basic" has no "foo" configuration option
+ output=
+ echo 'Test that values set via snapctl can be obtained via snap get'
Test that values set via snapctl can be obtained via snap get
+ snap set snapctl-hooks command=test-snapctl-set-foo
++ snap get snapctl-hooks command
+ output=test-snapctl-set-foo
+ expected=test-snapctl-set-foo
+ '[' test-snapctl-set-foo '!=' test-snapctl-set-foo ']'
++ snap get snapctl-hooks foo
+ output=bar
+ expected=bar
+ '[' bar '!=' bar ']'
+ echo 'Test that config values are not available once snap is removed'
Test that config values are not available once snap is removed
+ snap remove snapctl-hooks
snapctl-hooks removed
++ snap get snapctl-hooks foo
+ output=bar
+ echo 'Expected snap get to fail, but got '\''bar'\'''
Expected snap get to fail, but got 'bar'
+ exit 1
Download as text