mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
tests: cleanup test directory
- add a `pkg` directory for packages - add a `cases` directory for yml files Signed-off-by: Dave Tucker <dt@docker.com>
This commit is contained in:
parent
edb909567c
commit
05767273f3
@ -18,8 +18,8 @@ onboot:
|
|||||||
- CAP_NET_RAW
|
- CAP_NET_RAW
|
||||||
net: host
|
net: host
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: check
|
- name: check-kernel-config
|
||||||
image: "linuxkit/check:43c4147dda4e02d066ef158cd81718dbff8c8bd0"
|
image: "mobylinux/kernel-config:c9e41ab96b3ea6a3ced97634751e20d12a5bf52f"
|
||||||
pid: host
|
pid: host
|
||||||
capabilities:
|
capabilities:
|
||||||
- CAP_SYS_BOOT
|
- CAP_SYS_BOOT
|
@ -1,7 +1,7 @@
|
|||||||
.PHONY: tag push
|
.PHONY: tag push
|
||||||
|
|
||||||
BASE=alpine:3.5
|
BASE=alpine:3.5
|
||||||
IMAGE=check
|
IMAGE=kernel-config
|
||||||
|
|
||||||
default: push
|
default: push
|
||||||
|
|
@ -1,11 +1,11 @@
|
|||||||
This directory contains the files to build and run a container containing the
|
This directory contains the files to build and run a container containing the
|
||||||
virtio and Hyper-V socket stress tests. `test-virtsock-server.yml` builds images which start the server inside the VM.
|
virtio and Hyper-V socket stress tests. `../../cases/test-virtsock-server.yml` builds images which start the server inside the VM.
|
||||||
|
|
||||||
The client, to be run on the host as per this [README](https://github.com/rneugeba/virtsock/blob/master/examples/README.md), can be obtained compiled from [here](https://github.com/rneugeba/virtsock).
|
The client, to be run on the host as per this [README](https://github.com/rneugeba/virtsock/blob/master/examples/README.md), can be obtained compiled from [here](https://github.com/rneugeba/virtsock).
|
||||||
|
|
||||||
## How to use (on Windows)
|
## How to use (on Windows)
|
||||||
|
|
||||||
- Build the images: `moby build test-virtsock-server`
|
- Build the images: `moby build tests/cases/test-virtsock-server.yml`
|
||||||
- Copy the `test-virtsock-server.iso` to a Windows system
|
- Copy the `test-virtsock-server.iso` to a Windows system
|
||||||
- Create a Type 1 Hyper-V VM (called `virtsock`).
|
- Create a Type 1 Hyper-V VM (called `virtsock`).
|
||||||
- No Disk or network required
|
- No Disk or network required
|
Loading…
Reference in New Issue
Block a user