From dcc4fb929434b741992cc166a7cb89540ca71abe Mon Sep 17 00:00:00 2001 From: Alexander Mikhalitsyn Date: Tue, 2 Apr 2024 11:14:18 +0200 Subject: [PATCH] tests/parse_config_file: fix some typos Signed-off-by: Alexander Mikhalitsyn --- src/tests/parse_config_file.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tests/parse_config_file.c b/src/tests/parse_config_file.c index efca0ae8d..9dd081168 100644 --- a/src/tests/parse_config_file.c +++ b/src/tests/parse_config_file.c @@ -906,12 +906,12 @@ int main(int argc, char *argv[]) } if (c->set_config_item(c, "lxc.hook.version", "2")) { - lxc_error("%s\n", "Managed to set to set invalid config item \"lxc.hook.version\" to \"2\""); + lxc_error("%s\n", "Managed to set invalid config item \"lxc.hook.version\" to \"2\""); goto non_test_error; } if (!c->set_config_item(c, "lxc.monitor.signal.pdeath", "SIGKILL")) { - lxc_error("%s\n", "Failed to set to set invalid config item \"lxc.monitor.signal.pdeath\" to \"SIGKILL\""); + lxc_error("%s\n", "Failed to set invalid config item \"lxc.monitor.signal.pdeath\" to \"SIGKILL\""); goto non_test_error; } @@ -921,17 +921,17 @@ int main(int argc, char *argv[]) } if (c->set_config_item(c, "lxc.notaconfigkey", "invalid")) { - lxc_error("%s\n", "Managed to set to set invalid config item \"lxc.notaconfigkey\" to \"invalid\""); + lxc_error("%s\n", "Managed to set invalid config item \"lxc.notaconfigkey\" to \"invalid\""); return -1; } if (c->set_config_item(c, "lxc.log.file=", "./")) { - lxc_error("%s\n", "Managed to set to set invalid config item \"lxc.log.file\" to \"./\""); + lxc_error("%s\n", "Managed to set invalid config item \"lxc.log.file\" to \"./\""); return -1; } if (c->set_config_item(c, "lxc.hook.versionasdfsadfsadf", "1")) { - lxc_error("%s\n", "Managed to set to set invalid config item \"lxc.hook.versionasdfsadfsadf\" to \"2\""); + lxc_error("%s\n", "Managed to set invalid config item \"lxc.hook.versionasdfsadfsadf\" to \"2\""); goto non_test_error; } -- 2.47.2