cri-o/test/testdata
Antonio Murdaca 8b4e3036ea
test: add a test for /etc/resolv.conf in rw/ro mode
This patch isn't adding a test for /etc/hosts as that requires host
network and we don't want to play with host's /etc/hosts when running
make localintegration on our laptops. That may change in the future
moving to some sort of in-container testing.

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-06-16 11:01:12 +02:00
..
apparmor_test_deny_write add test cases 2016-12-01 21:42:13 +08:00
container_config.json test: add a test for /etc/resolv.conf in rw/ro mode 2017-06-16 11:01:12 +02:00
container_config_by_imageid.json test: testdata: get rid of memory limits 2017-05-17 17:30:11 +02:00
container_config_logging.json test: testdata: get rid of memory limits 2017-05-17 17:30:11 +02:00
container_config_resolvconf.json test: add a test for /etc/resolv.conf in rw/ro mode 2017-06-16 11:01:12 +02:00
container_config_resolvconf_ro.json test: add a test for /etc/resolv.conf in rw/ro mode 2017-06-16 11:01:12 +02:00
container_config_seccomp.json test: testdata: get rid of memory limits 2017-05-17 17:30:11 +02:00
container_exit_test.json server: fix set caps on container create 2017-05-05 16:31:52 +02:00
container_redis.json test: testdata: get rid of memory limits 2017-05-17 17:30:11 +02:00
container_redis_device.json test: testdata: get rid of memory limits 2017-05-17 17:30:11 +02:00
fake_ocid_default Rename ocid to crio. 2017-05-12 09:56:06 -04:00
README.md Rename ocid to crio. 2017-05-12 09:56:06 -04:00
sandbox_config.json test: add a test for /etc/resolv.conf in rw/ro mode 2017-06-16 11:01:12 +02:00
sandbox_config_hostnet.json test: add CGROUP_MANAGER env to switch to systemd 2017-05-18 17:39:49 +02:00
sandbox_config_seccomp.json test: add CGROUP_MANAGER env to switch to systemd 2017-05-18 17:39:49 +02:00

In terminal 1:

sudo ./crio

In terminal 2:

sudo ./crioctl runtimeversion

sudo rm -rf /var/lib/containers/storage/sandboxes/podsandbox1
sudo ./crioctl pod run --config testdata/sandbox_config.json

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