From c31f2cf0eecce854e1ea517580f05ac00abf8f44 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Wed, 19 Oct 2016 02:50:27 +1100 Subject: [PATCH] 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 --- test/testdata/container_config.json | 2 +- test/testdata/sandbox_config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testdata/container_config.json b/test/testdata/container_config.json index 3bc9d8d7..1c38e111 100644 --- a/test/testdata/container_config.json +++ b/test/testdata/container_config.json @@ -41,7 +41,7 @@ }, "privileged": true, "readonly_rootfs": true, - "log_path": "container.log", + "log_path": "", "stdin": false, "stdin_once": false, "tty": false, diff --git a/test/testdata/sandbox_config.json b/test/testdata/sandbox_config.json index 8f662649..39241317 100644 --- a/test/testdata/sandbox_config.json +++ b/test/testdata/sandbox_config.json @@ -6,7 +6,7 @@ "attempt": 1 }, "hostname": "ocic_host", - "log_directory": ".", + "log_directory": "", "dns_options": { "servers": [ "server1.redhat.com",