cri-o/test/testdata
Aleksa Sarai 65527da361
test: add logging tests
The main purpose of these tests is to make sure that the log actually
contains output from the container. We don't test the timestamps or the
stream that's stated at the moment.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2017-04-05 02:45:58 +10:00
..
apparmor_test_deny_write add test cases 2016-12-01 21:42:13 +08:00
container_config.json test: add logging tests 2017-04-05 02:45:58 +10:00
container_config_by_imageid.json test: add logging tests 2017-04-05 02:45:58 +10:00
container_config_logging.json test: add logging tests 2017-04-05 02:45:58 +10:00
container_config_seccomp.json test: add logging tests 2017-04-05 02:45:58 +10:00
container_exit_test.json test: add logging tests 2017-04-05 02:45:58 +10:00
container_redis.json test: add logging tests 2017-04-05 02:45:58 +10:00
fake_ocid_default reload default apparmor profile if it is unloaded 2016-12-07 20:19:29 +08:00
README.md Default all container storage to /var/lib/containers/storage 2017-03-24 08:19:08 -04:00
sandbox_config.json test: unset log_* in configurations 2017-04-05 02:45:58 +10:00
sandbox_config_hostnet.json test: add logging tests 2017-04-05 02:45:58 +10:00
sandbox_config_seccomp.json test: add logging tests 2017-04-05 02:45:58 +10:00

In terminal 1:

sudo ./ocid

In terminal 2:

sudo ./ocic runtimeversion

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

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