From 4021e2a5b467338814664c466a84714da5fcbc0b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 9 May 2025 00:48:07 +0200 Subject: Interpret relative cinemas SQLite3 paths as being relative to the config.xml (#3038). --- test/kdm_cli_test.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/kdm_cli_test.cc') diff --git a/test/kdm_cli_test.cc b/test/kdm_cli_test.cc index 85fd61c62..a788a9642 100644 --- a/test/kdm_cli_test.cc +++ b/test/kdm_cli_test.cc @@ -248,10 +248,12 @@ BOOST_AUTO_TEST_CASE(kdm_cli_specify_cinemas_file) setup_test_config(); + using namespace boost::filesystem; + vector args = { "kdm_cli", "--cinemas-file", - "test/data/cinemas.sqlite3", + path(current_path() / "test/data/cinemas.sqlite3").string(), "list-cinemas" }; -- cgit v1.2.3