~mvo/snapd/+git/snapd-mvo:shellcheck-mock-madness

Last commit made on 2019-04-03
Get this branch:
git clone -b shellcheck-mock-madness https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
shellcheck-mock-madness
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

3b0dce4... by Michael Vogt

testutil: fix MockCmd for shellcheck 0.5

With shellcheck 0.5 there is an error that
```
printf "\0"
```
should be use single quotes (SC1117). This PR fixes this.

a16857b... by Maciej Borzecki

Merge pull request #6682 from bboozzoo/bboozzoo/gadget-separate-package

snap, gadget: move gadget read/validation into separate package, tweak naming

eb05281... by Maciej Borzecki

Merge pull request #6656 from sergiocazzolato/tests-split-spread-execution-on-2-jobs

tests: split travis spread execution in 2 jobs for ubuntu and non ubuntu systems

1004fc0... by Maciej Borzecki

gadget: tweak variable naming

Signed-off-by: Maciej Borzecki <email address hidden>

a5b6db9... by Maciej Borzecki

Merge pull request #6683 from bboozzoo/bboozzoo/shellcheck-in-your-face

testutil: make mocked command work with shellcheck from snaps

bf24be3... by Maciej Borzecki

testutil: make mocked command work with shellcheck from snaps

When shellcheck is running from a snap it will get a private /tmp. Scripts are
generated in a workdir that is places under /tmp, but inside the host mount
namespace, thus the file will not be accessible by shellcheck.

Work around that by feeding the script to be checked through stdin.

Signed-off-by: Maciej Borzecki <email address hidden>

f0ee90c... by Maciej Borzecki

Merge pull request #6654 from bboozzoo/bboozzoo/selinux-mount-patch-helper

packaging/fedora, tests/upgrade/basic: patch existing mount units with SELinux context on upgrade

c6aad7d... by Maciej Borzecki

gadget, snap: rename ReadGadgetInfo() to ReadInfo()

Signed-off-by: Maciej Borzecki <email address hidden>

6c19b3c... by Maciej Borzecki

gadget: note about gofmt 1.9 vs 1.10+

Signed-off-by: Maciej Borzecki <email address hidden>

e622816... by Maciej Borzecki

gadget: tweak unit tests

Signed-off-by: Maciej Borzecki <email address hidden>