Oh, I didn't give all the steps on recreating your snap and running the tests (not sure how that happened). For posterity:
$ sudo apt-get install snapcraft $ sudo unsquashfs /var/lib/snapd/snaps/snappy-tests_100001.snap # unpack $ sudo chown -R jamie:jamie ./squashfs-root $ vi ./squashfs-root/command-snappy-tests.wrapper # fix the wrapper adjust to be: export GOPATH=$SNAP_USER_DATA/go mkdir "$GOPATH" $ vi ./squashfs-root/snap.yaml # rev the version adjust version to be: 0.1+jdstrand1 $ snapcraft snap ./squashfs-root # resquash $ sudo snap remove snappy-tests # just be doubly sure we start from a clean state $ sudo snap install --devmode ./snappy-tests_0.1+jdstrand1_amd64.snap # install
$ snappy-tests -check.f homeInterfaceSuite
Oh, I didn't give all the steps on recreating your snap and running the tests (not sure how that happened). For posterity:
$ sudo apt-get install snapcraft snapd/snaps/ snappy- tests_100001. snap # unpack root/command- snappy- tests.wrapper # fix the wrapper $SNAP_USER_ DATA/go root/snap. yaml # rev the version tests_0. 1+jdstrand1_ amd64.snap # install
$ sudo unsquashfs /var/lib/
$ sudo chown -R jamie:jamie ./squashfs-root
$ vi ./squashfs-
adjust to be:
export GOPATH=
mkdir "$GOPATH"
$ vi ./squashfs-
adjust version to be: 0.1+jdstrand1
$ snapcraft snap ./squashfs-root # resquash
$ sudo snap remove snappy-tests # just be doubly sure we start from a clean state
$ sudo snap install --devmode ./snappy-
$ snappy-tests -check.f homeInterfaceSuite