+ CONNECTED_PATTERN='test-snapd-content-slot:shared-content-slot +test-snapd-content-plug:shared-content-plug'
+ DISCONNECTED_PATTERN='(?s).*?test-snapd-content-slot:shared-content-slot +-.*?- +test-snapd-content-plug:shared-content-plug'
+ echo 'Then the snap is listed as connected'
Then the snap is listed as connected
+ grep -Pzq 'test-snapd-content-slot:shared-content-slot +test-snapd-content-plug:shared-content-plug'
+ snap interfaces
+ echo 'And fstab files are created'
And fstab files are created
++ wc -l
++ find /var/lib/snapd/mount -type f -name '*.fstab'
+ '[' 2 -gt 0 ']'
+ echo 'And we can use the shared content'
And we can use the shared content
+ grep 'Some shared content'
+ test-snapd-content-plug.content-plug
cat: /var/lib/snapd/snap/test-snapd-content-plug/2/import/shared-content: No such file or directory