cri-o/test/testdata
Samuel Ortiz b6455253c2
test: Add host pod ping test
We create a pod with host networking and we try to ping
it from the host.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2016-12-21 12:24:37 +01:00
..
apparmor_test_deny_write add test cases 2016-12-01 21:42:13 +08:00
container_config.json add test for container/pod metadata in status/list APIs 2016-11-02 00:37:40 +08:00
container_config_seccomp.json add seccomp support 2016-11-28 22:05:34 +01:00
container_exit_test.json test: fix and add tests 2016-09-27 10:42:53 +02:00
container_redis.json removing mount from test/testdata/container_redis.json 2016-10-07 12:32:11 -05:00
fake_ocid_default reload default apparmor profile if it is unloaded 2016-12-07 20:19:29 +08:00
README.md cmd/client: move pod create to pod run 2016-12-14 18:15:37 +01:00
sandbox_config.json Fixup cgroup in test sandbox config 2016-12-16 13:33:38 -08:00
sandbox_config_hostnet.json test: Add host pod ping test 2016-12-21 12:24:37 +01:00
sandbox_config_seccomp.json testdata: Add missing closed curly 2016-12-09 00:11:16 +01:00

In terminal 1:

sudo ./ocid

In terminal 2:

sudo ./ocic runtimeversion

sudo rm -rf /var/lib/ocid/sandboxes/podsandbox1
sudo ./ocic pod run --config testdata/sandbox_config.json

sudo rm -rf /var/lib/ocid/containers/container1
sudo ./ocic container create --pod podsandbox1 --config testdata/container_config.json