summaryrefslogtreecommitdiff
path: root/test/encode_cli_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-01-31 02:20:19 +0100
committerCarl Hetherington <cth@carlh.net>2026-04-25 12:55:25 +0200
commit1476f444f4070ba6508d71f8ac45a8367e4090e2 (patch)
tree44e11f17707ef74e98b907f85983341344988320 /test/encode_cli_test.cc
parent657f0135cf33c5cb2c47f8ea47d603566b0efa4e (diff)
Fix config tests for version bump to 2.20.
Diffstat (limited to 'test/encode_cli_test.cc')
-rw-r--r--test/encode_cli_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/encode_cli_test.cc b/test/encode_cli_test.cc
index 0a0a17e3a..ce4a820b1 100644
--- a/test/encode_cli_test.cc
+++ b/test/encode_cli_test.cc
@@ -118,7 +118,7 @@ BOOST_AUTO_TEST_CASE(encode_cli_set_grok_licence)
BOOST_CHECK(!error);
cxml::Document check("Config");
- check.read_file(config / "2.18" / "config.xml");
+ check.read_file(config / "2.20" / "config.xml");
BOOST_CHECK_EQUAL(check.node_child("Grok")->string_child("Licence"), "12345678ABC");
}
@@ -137,7 +137,7 @@ BOOST_AUTO_TEST_CASE(encode_cli_enable_grok)
BOOST_CHECK(!error);
cxml::Document check("Config");
- check.read_file(config / "2.18" / "config.xml");
+ check.read_file(config / "2.20" / "config.xml");
BOOST_CHECK_EQUAL(check.node_child("Grok")->string_child("Enable"), value);
}
}
@@ -156,7 +156,7 @@ BOOST_AUTO_TEST_CASE(encode_cli_set_grok_binary_location)
BOOST_CHECK(!error);
cxml::Document check("Config");
- check.read_file(config / "2.18" / "config.xml");
+ check.read_file(config / "2.20" / "config.xml");
BOOST_CHECK_EQUAL(check.node_child("Grok")->string_child("BinaryLocation"), "foo/bar/baz");
}
#endif