test: unset log_* in configurations
This is necessary, as otherwise ocid will use its own current directory as a log_directory, which is not the best idea in the world. The same applies for log_path. Signed-off-by: Aleksa Sarai <asarai@suse.de>
This commit is contained in:
parent
1dc4c87c93
commit
c31f2cf0ee
2 changed files with 2 additions and 2 deletions
2
test/testdata/container_config.json
vendored
2
test/testdata/container_config.json
vendored
|
@ -41,7 +41,7 @@
|
||||||
},
|
},
|
||||||
"privileged": true,
|
"privileged": true,
|
||||||
"readonly_rootfs": true,
|
"readonly_rootfs": true,
|
||||||
"log_path": "container.log",
|
"log_path": "",
|
||||||
"stdin": false,
|
"stdin": false,
|
||||||
"stdin_once": false,
|
"stdin_once": false,
|
||||||
"tty": false,
|
"tty": false,
|
||||||
|
|
2
test/testdata/sandbox_config.json
vendored
2
test/testdata/sandbox_config.json
vendored
|
@ -6,7 +6,7 @@
|
||||||
"attempt": 1
|
"attempt": 1
|
||||||
},
|
},
|
||||||
"hostname": "ocic_host",
|
"hostname": "ocic_host",
|
||||||
"log_directory": ".",
|
"log_directory": "",
|
||||||
"dns_options": {
|
"dns_options": {
|
||||||
"servers": [
|
"servers": [
|
||||||
"server1.redhat.com",
|
"server1.redhat.com",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue