This uses 'expect' instead of 'grep' because hyperkit is
a bit finicky with re-directing the output (it expects a
tty). 'expect' handles this and is installed on macOS by
default.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
- Add a test for the kernel config for each supported kernel
- simplify YAML files: no need for ca certificates nor DHCP
- Explicitly state that the kernel module tests are for
the 4.9 kernel.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
The qemu backend defaults to running against a locally installed
qemu but falls back to running in a container if qemu is not
installed. This test explicitly tests that the containerised
qemu backend works only if there is a locally installed qemu.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This now supports setting `source:` in the `files` section to read the contents of
a file rather than specifying it inline.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
- show errors by outputting stderr
- as no input is wired up, fails as requests a tty, so don't do that
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This now supports setting `source:` in the `files` section to read the contents of
a file rather than specifying it inline.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
- use new Makefile flags to add our build flags correctly now
- restore `dist` for now as it is useful for testing still, for now
Will remove both `dist` and `ctr` once we have our own tool, but will add
them to dev container instead.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
The actual code was removed in 4751d70b18 but
vendor.conf was not updated. Current version of vndr complains:
2017/05/18 21:18:03 WARNING: package github.com/docker/distribution is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/docker/engine-api is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/docker/go-connections is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/docker/go-units is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/opencontainers/runtime-spec is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/pkg/errors is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/xeipuuv/gojsonpointer is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/xeipuuv/gojsonreference is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package github.com/xeipuuv/gojsonschema is unused, consider removing it from vendor.conf
2017/05/18 21:18:03 WARNING: package gopkg.in/yaml.v2 is unused, consider removing it from vendor.conf
Signed-off-by: Ian Campbell <ian.campbell@docker.com>
Otherwise escape codes (arrow keys etc) do not work.
This is done only when stdin is a tty.
For clarity spell `--tty-` and `--interactive` out in full rather than using
the short versions.
Signed-off-by: Ian Campbell <ian.campbell@docker.com>