# Pastebin JyNfmgcG ----- + echo 'List prints core snap version' List prints core snap version + '[' google = linode -o google = google -o google == qemu ']' + '[' centos-7-64 = ubuntu-core-16-64 ']' + '[' 0 = 1 ']' + '[' google = external ']' + '[' google = autopkgtest ']' + expected='^core .* [0-9]{2}-[0-9.]+(~[a-z0-9]+)?(\+git[0-9]+\.[0-9a-f]+)? +[0-9]+ +edge +canonical✓ +core.*$' + MATCH '^core .* [0-9]{2}-[0-9.]+(~[a-z0-9]+)?(\+git[0-9]+\.[0-9a-f]+)? +[0-9]+ +edge +canonical✓ +core.*$' + snap list grep error: pattern not found, got: Name Version Rev Tracking Publisher Notes core 16-2.36.1 5897 stable canonical✓ core test-snapd-tools 1.0 x1 - - - test-snapd-tools_foo 1.0 x1 - - - -----