mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 01:29:07 +00:00
tests: Update kernel namespace tests
- Extract common portions from the YAML file This makes kernel/init/runc updates easier as only one files needs changing - Rename test-ns.yml to test.yml to make it more in line with the other tests - Use '-name' in the moby build - Simplify cleanup Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
3ed9803ac3
commit
40afebb2c9
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.9.50
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
@ -9,14 +9,15 @@ set -e
|
||||
#. "${RT_LIB}"
|
||||
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
||||
|
||||
NAME=test-ns
|
||||
|
||||
clean_up() {
|
||||
find . -depth -iname "test-ns*" -not -iname "*.yml" -exec rm -rf {} \;
|
||||
rm -rf ${NAME}-*
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
# Test code goes here
|
||||
moby build -format kernel+initrd test-ns.yml
|
||||
RESULT="$(linuxkit run -cpus 2 test-ns)"
|
||||
moby build -format kernel+initrd -name ${NAME} ../../common.yml test.yml
|
||||
RESULT="$(linuxkit run -cpus 2 ${NAME})"
|
||||
echo "${RESULT}" | grep -q "suite PASSED"
|
||||
|
||||
exit 0
|
||||
|
@ -1,9 +1,3 @@
|
||||
kernel:
|
||||
image: linuxkit/kernel:4.4.88
|
||||
cmdline: "console=ttyS0"
|
||||
init:
|
||||
- linuxkit/init:851e9c3ad0574d640b733b92fdb26c368d2f7f8f
|
||||
- linuxkit/runc:a1b564248a0d0b118c11e61db9f84ecf41dd2d2a
|
||||
onboot:
|
||||
- name: test-ns
|
||||
image: linuxkit/test-ns:8e93e61e46ebcb302761eca0180e4c7f43e60bcf
|
||||
@ -14,6 +8,3 @@ onboot:
|
||||
- name: poweroff
|
||||
image: linuxkit/poweroff:1e9876c682c74d0602b7647c628bb0875fb13998
|
||||
command: ["/bin/sh", "/poweroff.sh", "3"]
|
||||
trust:
|
||||
org:
|
||||
- linuxkit
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user