test: Load modules before testing for filesystems

The previous commit moved some filesystems to kernel modules.
modprobe them before checking if they are enabled.

Also update the YAML files for the tests.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer
2017-06-22 23:10:04 +01:00
parent 492b6c3fdb
commit 8d4dfb25e6
6 changed files with 14 additions and 8 deletions

View File

@@ -7,8 +7,7 @@ init:
- linuxkit/containerd:be69ded7ed4437e2989da850581b631bac877d3e
onboot:
- name: check-kernel-config
image: "linuxkit/test-kernel-config:2acaa564c1801dd2ae1546c70c472dc58ac030a1"
readonly: true
image: "linuxkit/test-kernel-config:9f08e3b99f8ac2f422251b3e8c94ce874ee34119"
- name: poweroff
image: "linuxkit/poweroff:7404cf2295df89ccfa2dda41997a28307a90cf28"
command: ["/bin/sh", "/poweroff.sh", "3"]

View File

@@ -7,8 +7,7 @@ init:
- linuxkit/containerd:be69ded7ed4437e2989da850581b631bac877d3e
onboot:
- name: check-kernel-config
image: "linuxkit/test-kernel-config:2acaa564c1801dd2ae1546c70c472dc58ac030a1"
readonly: true
image: "linuxkit/test-kernel-config:9f08e3b99f8ac2f422251b3e8c94ce874ee34119"
- name: poweroff
image: "linuxkit/poweroff:7404cf2295df89ccfa2dda41997a28307a90cf28"
command: ["/bin/sh", "/poweroff.sh", "3"]

View File

@@ -7,8 +7,7 @@ init:
- linuxkit/containerd:be69ded7ed4437e2989da850581b631bac877d3e
onboot:
- name: check-kernel-config
image: "linuxkit/test-kernel-config:2acaa564c1801dd2ae1546c70c472dc58ac030a1"
readonly: true
image: "linuxkit/test-kernel-config:9f08e3b99f8ac2f422251b3e8c94ce874ee34119"
- name: poweroff
image: "linuxkit/poweroff:7404cf2295df89ccfa2dda41997a28307a90cf28"
command: ["/bin/sh", "/poweroff.sh", "3"]