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-02-03 21:34:12 +0100
commite5112729b7a5193921d8a9c4c767aabad54137c7 (patch)
treec454f0bd83e618b8f502d36fd75d5e753b949bb4 /test/encode_cli_test.cc
parent457e3cf9a9d894e20494d43da21916b84e548e1b (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