~mvo/snapd/+git/snapd-mvo:fix-listing-harder

Last commit made on 2017-09-08
Get this branch:
git clone -b fix-listing-harder https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
fix-listing-harder
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

241847d... by Michael Vogt

Improve the listing test to not fail for e.g. 2.28~rc2

We had one test failure related to the listing test caused by
the new version 2.28~rc2 in the edge channel.

7307e40... by Samuele Pedroni

overlord: introduce Mock which enables to use Overlord.Settle for settle in many more places (#3856)

overlord.Mock creates a no-manager Overlord supporting AddManager to add a subset of managers, mainly for letting tests use Overlord.Settle even with just 1 or few managers.

Moved calling some global init code into Manager creation functions to avoid unexpected confusing side-effects on tests once they all start to import overlord which imports all managers.

a06c760... by Sergio Cazzolato

tests: fix lxd test for external backend

This test is failing case we run with $SPREAD_BACKEND = external because
there are not snapd_*.deb files to copy. Skipping test when there are not -deb files built.

626d58b... by Michael Vogt

snap-repair: execute the repair and capture logs/status

snap-repair: execute the repair and capture logs/status

d44b28d... by Michael Vogt

snap-confine,snap-update-ns: add -no-pie to fix FTBFS on go1.7,ppc64el

There is a bug in go 1.7 which does not pass -no-pie to linkers
that need that option. We hit this bug on Ubuntu 17.04/ppc64el.

This patch worksaround the issue by adding -no-pie to the LDFLAGS
explicitely. See also:
https://forum.snapcraft.io/t/snapd-master-fails-on-zesty-ppc64el-with-r-ppc64-addr16-ha-for-symbol-out-of-range/

7495d55... by Michael Vogt

corecfg: mock "systemctl" in all corecfg tests

This is needed to ensure the tests can run on a system that does
not have systemctl (like ubuntu 14.04).

8824bda... by Paweł Stołowski

Merge pull request #3847 from mvo5/unit-testing-ftw

tests: run the tests/unit/go everywhere

3954d21... by Michael Vogt

daemon, snapstate: move ensureCore from daemon/api.go into snapstate.go (#3727)

This is prereq work for auto-installing missing base snapd and missing default-provider for content snaps.

The logic to add tasks to install core is added in a 'prerequisites' task that either wait for another change to do that or adds the necessary lane to the current change.

d191b0a... by Michael Vogt

Merge remote-tracking branch 'upstream/master' into repair-run-skel-with-run

06433af... by Paweł Stołowski

Merge pull request #3642 from stolowski/snap-get-dockeys

cmd/snap: get keys or root document