cri-o/test/testdata
Aleksa Sarai 6940313691
test: add tests for split std{err,out}
Now that we have support for split std{out,err}, make sure that execsync
will correctly handle the split stdio properly. In addition, extend the
ctr logging test to make sure that the regular container logging is also
split correctly. We can't test !terminal containers because we only have
a single console for both std{out,err}.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2017-04-12 21:59:25 +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 tests for split std{err,out} 2017-04-12 21:59:25 +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