Merge pull request #2478 from justincormack/formats

Change "output" to "format" in moby tool
This commit is contained in:
Justin Cormack
2017-09-02 12:00:13 +01:00
committed by GitHub
245 changed files with 253 additions and 253 deletions

View File

@@ -21,7 +21,7 @@ endif
PREFIX?=/usr/local/ PREFIX?=/usr/local/
MOBY_REPO=https://github.com/moby/tool.git MOBY_REPO=https://github.com/moby/tool.git
MOBY_COMMIT=69596e17ddb01fc3d3e75774bffeb760812b2f97 MOBY_COMMIT=1ff0e3beeeb1e741b9c5a54574f01ac5eee525a5
MOBY_VERSION=0.0 MOBY_VERSION=0.0
bin/moby: tmp_moby_bin.tar | bin bin/moby: tmp_moby_bin.tar | bin
tar xf $< tar xf $<

View File

@@ -45,7 +45,7 @@ Once you have built the tool, use
``` ```
moby build linuxkit.yml moby build linuxkit.yml
``` ```
to build the example configuration. You can also specify different output formats, eg `moby build -output raw linuxkit.yml` to to build the example configuration. You can also specify different output formats, eg `moby build -format raw linuxkit.yml` to
output a raw bootable disk image. See `moby build -help` for more information. output a raw bootable disk image. See `moby build -help` for more information.
### Booting and Testing ### Booting and Testing
@@ -102,7 +102,7 @@ To customise, copy or modify the [`linuxkit.yml`](linuxkit.yml) to your own `fil
generate its specified output. You can run the output with `linuxkit run file`. generate its specified output. You can run the output with `linuxkit run file`.
The yaml file specifies a kernel and base init system, a set of containers that are built into the generated image and started at boot time. You can specify the type The yaml file specifies a kernel and base init system, a set of containers that are built into the generated image and started at boot time. You can specify the type
of artifact to build with the `moby` tool eg `moby build -output vhd linuxkit.yml`. of artifact to build with the `moby` tool eg `moby build -format vhd linuxkit.yml`.
If you want to build your own packages, see this [document](docs/packages.md). If you want to build your own packages, see this [document](docs/packages.md).

View File

@@ -22,7 +22,7 @@ export AWS_REGION=eu-west-1
AWS requires a `RAW` image. To create one: AWS requires a `RAW` image. To create one:
``` ```
$ moby build -output raw examples/aws.yml $ moby build -format raw examples/aws.yml
``` ```
## Push image ## Push image

View File

@@ -23,7 +23,7 @@ here](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-gro
## Build an image ## Build an image
Create a new `azure.yml` file [based on the Azure example](../examples/azure.yml), generate a new SSH key and add it in the `yml`, then `moby build -output vhd azure.yml`. Create a new `azure.yml` file [based on the Azure example](../examples/azure.yml), generate a new SSH key and add it in the `yml`, then `moby build -format vhd azure.yml`.
This will output a `azure.vhd` image. This will output a `azure.vhd` image.

View File

@@ -50,11 +50,11 @@ Make sure to download the credentials in JSON format and store them somewhere sa
## Build an image ## Build an image
When using `moby build ...` to build an image, specify `-output gcp` to When using `moby build ...` to build an image, specify `-format gcp` to
build an image in a format that GCP will understand. For example: build an image in a format that GCP will understand. For example:
``` ```
moby build -output gcp myprefix.yml moby build -format gcp myprefix.yml
``` ```
This will create a local `myprefix.img.tar.gz` compressed image file. This will create a local `myprefix.img.tar.gz` compressed image file.

View File

@@ -3,7 +3,7 @@ run: ima-namespace-kernel
../../bin/linuxkit run ima-namespace ../../bin/linuxkit run ima-namespace
ima-namespace-kernel: ima-namespace.yml ima-namespace-kernel: ima-namespace.yml
../../bin/moby build -output kernel+initrd ima-namespace ../../bin/moby build -format kernel+initrd ima-namespace
.PHONY: clean .PHONY: clean
clean: clean:

View File

@@ -13,10 +13,10 @@ push-container-images:
build-vm-images: kube-master.iso kube-node.iso build-vm-images: kube-master.iso kube-node.iso
kube-master.iso: kube-master.yml kube-master.iso: kube-master.yml
moby build -name kube-master -output iso-efi -output iso-bios kube-master.yml moby build -name kube-master -format iso-efi -format iso-bios kube-master.yml
kube-node.iso: kube-node.yml kube-node.iso: kube-node.yml
moby build -name kube-node -output iso-efi -output iso-bios kube-node.yml moby build -name kube-node -format iso-efi -format iso-bios kube-node.yml
clean: clean:
rm -f -r \ rm -f -r \

View File

@@ -31,7 +31,7 @@ gcp-hack: ../artifacts/test.img.tar.gz
../artifacts/test.img.tar.gz: ../artifacts/test.img.tar.gz:
rm -rf ../artifacts rm -rf ../artifacts
mkdir -p ../artifacts mkdir -p ../artifacts
$(MOBY) build -output gcp -pull -name ../artifacts/test hack/test.yml $(MOBY) build -format gcp -pull -name ../artifacts/test hack/test.yml
define check_test_log define check_test_log
@cat $1 |grep -q 'test suite PASSED' @cat $1 |grep -q 'test suite PASSED'
@@ -40,7 +40,7 @@ endef
.PHONY: ltp .PHONY: ltp
ltp: export CLOUDSDK_IMAGE_NAME?=test-ltp ltp: export CLOUDSDK_IMAGE_NAME?=test-ltp
ltp: $(LINUXKIT) test-ltp.img.tar.gz ltp: $(LINUXKIT) test-ltp.img.tar.gz
$(MOBY) build -output gcp -pull hack/test-ltp.yml $(MOBY) build -format gcp -pull hack/test-ltp.yml
$(LINUXKIT) push gcp test-ltp.img.tar.gz $(LINUXKIT) push gcp test-ltp.img.tar.gz
$(LINUXKIT) run gcp -skip-cleanup -machine n1-highcpu-4 $(CLOUDSDK_IMAGE_NAME) | tee test-ltp.log $(LINUXKIT) run gcp -skip-cleanup -machine n1-highcpu-4 $(CLOUDSDK_IMAGE_NAME) | tee test-ltp.log
$(call check_test_log, test-ltp.log) $(call check_test_log, test-ltp.log)

View File

@@ -18,7 +18,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
moby build -output kernel+initrd -name "${NAME}" ../test.yml moby build -format kernel+initrd -name "${NAME}" ../test.yml
[ -f "${NAME}-kernel" ] || exit 1 [ -f "${NAME}-kernel" ] || exit 1
[ -f "${NAME}-initrd.img" ] || exit 1 [ -f "${NAME}-initrd.img" ] || exit 1
[ -f "${NAME}-cmdline" ] || exit 1 [ -f "${NAME}-cmdline" ] || exit 1

View File

@@ -18,7 +18,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
moby build -output iso-bios -name "${NAME}" ../test.yml moby build -format iso-bios -name "${NAME}" ../test.yml
[ -f "${NAME}.iso" ] || exit 1 [ -f "${NAME}.iso" ] || exit 1
exit 0 exit 0

View File

@@ -18,7 +18,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
moby build -output iso-efi -name "${NAME}" ../test.yml moby build -format iso-efi -name "${NAME}" ../test.yml
[ -f "${NAME}-efi.iso" ] || exit 1 [ -f "${NAME}-efi.iso" ] || exit 1
exit 0 exit 0

View File

@@ -18,7 +18,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
moby build -output gcp -name "${NAME}" ../test.yml moby build -format gcp -name "${NAME}" ../test.yml
[ -f "${NAME}.img.tar.gz" ] || exit 1 [ -f "${NAME}.img.tar.gz" ] || exit 1
exit 0 exit 0

View File

@@ -18,7 +18,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
moby build -output raw -name "${NAME}" ../test.yml moby build -format raw -name "${NAME}" ../test.yml
[ -f "${NAME}.raw" ] || exit 1 [ -f "${NAME}.raw" ] || exit 1
exit 0 exit 0

View File

@@ -18,7 +18,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
moby build -output qcow2 -name "${NAME}" ../test.yml moby build -format qcow2 -name "${NAME}" ../test.yml
[ -f "${NAME}.qcow2" ] || exit 1 [ -f "${NAME}.qcow2" ] || exit 1
exit 0 exit 0

View File

@@ -19,7 +19,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
moby build -output vhd -name "${NAME}" ../test.yml moby build -format vhd -name "${NAME}" ../test.yml
[ -f "${NAME}.vhd" ] || exit 1 [ -f "${NAME}.vhd" ] || exit 1
exit 0 exit 0

View File

@@ -18,7 +18,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
moby build -output vmdk -name "${NAME}" ../test.yml moby build -format vmdk -name "${NAME}" ../test.yml
[ -f "${NAME}.vmdk" ] || exit 1 [ -f "${NAME}.vmdk" ] || exit 1
exit 0 exit 0

View File

@@ -17,7 +17,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
moby build -output kernel+initrd -name "${NAME}" test.yml moby build -format kernel+initrd -name "${NAME}" test.yml
[ -f "${NAME}-kernel" ] || exit 1 [ -f "${NAME}-kernel" ] || exit 1
[ -f "${NAME}-initrd.img" ] || exit 1 [ -f "${NAME}-initrd.img" ] || exit 1
[ -f "${NAME}-cmdline" ]|| exit 1 [ -f "${NAME}-cmdline" ]|| exit 1

View File

@@ -16,7 +16,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
moby build -output iso-bios -name "${NAME}" test.yml moby build -format iso-bios -name "${NAME}" test.yml
[ -f "${NAME}.iso" ] || exit 1 [ -f "${NAME}.iso" ] || exit 1
linuxkit run qemu -iso "${NAME}.iso" | grep -q "Welcome to LinuxKit" linuxkit run qemu -iso "${NAME}.iso" | grep -q "Welcome to LinuxKit"
exit 0 exit 0

View File

@@ -27,7 +27,7 @@ if command -v qemu-system-x86_64; then
fi fi
fi fi
moby build -output iso-efi -name "${NAME}" test.yml moby build -format iso-efi -name "${NAME}" test.yml
[ -f "${NAME}-efi.iso" ] || exit 1 [ -f "${NAME}-efi.iso" ] || exit 1
linuxkit run qemu -iso -uefi "${NAME}-efi.iso" | grep -q "Welcome to LinuxKit" linuxkit run qemu -iso -uefi "${NAME}-efi.iso" | grep -q "Welcome to LinuxKit"
exit 0 exit 0

View File

@@ -17,7 +17,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
moby build -output qcow2 -name "${NAME}" test.yml moby build -format qcow2 -name "${NAME}" test.yml
[ -f "${NAME}.qcow2" ] || exit 1 [ -f "${NAME}.qcow2" ] || exit 1
linuxkit run qemu "${NAME}.qcow2" | grep -q "Welcome to LinuxKit" linuxkit run qemu "${NAME}.qcow2" | grep -q "Welcome to LinuxKit"
exit 0 exit 0

View File

@@ -17,7 +17,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
moby build -output raw -name "${NAME}" test.yml moby build -format raw -name "${NAME}" test.yml
[ -f "${NAME}.raw" ] || exit 1 [ -f "${NAME}.raw" ] || exit 1
linuxkit run qemu "${NAME}.raw" | grep -q "Welcome to LinuxKit" linuxkit run qemu "${NAME}.raw" | grep -q "Welcome to LinuxKit"
exit 0 exit 0

View File

@@ -28,7 +28,7 @@ if [ -z "${QEMU}" ]; then
exit $RT_CANCEL exit $RT_CANCEL
fi fi
moby build -output kernel+initrd -name "${NAME}" test.yml moby build -format kernel+initrd -name "${NAME}" test.yml
[ -f "${NAME}-kernel" ] || exit 1 [ -f "${NAME}-kernel" ] || exit 1
[ -f "${NAME}-initrd.img" ] || exit 1 [ -f "${NAME}-initrd.img" ] || exit 1
[ -f "${NAME}-cmdline" ]|| exit 1 [ -f "${NAME}-cmdline" ]|| exit 1

View File

@@ -18,7 +18,7 @@ clean_up() {
} }
trap clean_up EXIT trap clean_up EXIT
moby build -output kernel+initrd -name "${NAME}" test.yml moby build -format kernel+initrd -name "${NAME}" test.yml
[ -f "${NAME}-kernel" ] || exit 1 [ -f "${NAME}-kernel" ] || exit 1
[ -f "${NAME}-initrd.img" ] || exit 1 [ -f "${NAME}-initrd.img" ] || exit 1
[ -f "${NAME}-cmdline" ]|| exit 1 [ -f "${NAME}-cmdline" ]|| exit 1

View File

@@ -18,7 +18,7 @@ clean_up() {
} }
trap clean_up EXIT trap clean_up EXIT
moby build -output kernel+initrd -name "${NAME}" test.yml moby build -format kernel+initrd -name "${NAME}" test.yml
[ -f "${NAME}-kernel" ] || exit 1 [ -f "${NAME}-kernel" ] || exit 1
[ -f "${NAME}-initrd.img" ] || exit 1 [ -f "${NAME}-initrd.img" ] || exit 1
[ -f "${NAME}-cmdline" ]|| exit 1 [ -f "${NAME}-cmdline" ]|| exit 1

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-kernel-config.yml moby build -format kernel+initrd test-kernel-config.yml
RESULT="$(linuxkit run test-kernel-config)" RESULT="$(linuxkit run test-kernel-config)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-kernel-config.yml moby build -format kernel+initrd test-kernel-config.yml
RESULT="$(linuxkit run test-kernel-config)" RESULT="$(linuxkit run test-kernel-config)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-kernel-config.yml moby build -format kernel+initrd test-kernel-config.yml
RESULT="$(linuxkit run test-kernel-config)" RESULT="$(linuxkit run test-kernel-config)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -23,7 +23,7 @@ docker pull linuxkit/kernel:4.9.46
docker build -t ${IMAGE_NAME} . docker build -t ${IMAGE_NAME} .
# Build and run a LinuxKit image with kernel module (and test script) # Build and run a LinuxKit image with kernel module (and test script)
moby build -output kernel+initrd kmod.yml moby build -format kernel+initrd kmod.yml
RESULT="$(linuxkit run kmod)" RESULT="$(linuxkit run kmod)"
echo "${RESULT}" | grep -q "Hello LinuxKit" echo "${RESULT}" | grep -q "Hello LinuxKit"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

View File

@@ -15,7 +15,7 @@ clean_up() {
trap clean_up EXIT trap clean_up EXIT
# Test code goes here # Test code goes here
moby build -output kernel+initrd test-ns.yml moby build -format kernel+initrd test-ns.yml
RESULT="$(linuxkit run -cpus 2 test-ns)" RESULT="$(linuxkit run -cpus 2 test-ns)"
echo "${RESULT}" | grep -q "suite PASSED" echo "${RESULT}" | grep -q "suite PASSED"

Some files were not shown because too many files have changed in this diff Show More