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