diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-09 00:48:07 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-05-29 11:49:34 +0200 |
| commit | 4021e2a5b467338814664c466a84714da5fcbc0b (patch) | |
| tree | 7902f5300ffc2673fd6ba5d30e9c402a1ea347a9 /test/kdm_cli_test.cc | |
| parent | 6cc78916f19b813cef89ef7028b7c4de6bb94c1f (diff) | |
Interpret relative cinemas SQLite3 paths as being relative to the config.xml (#3038).
Diffstat (limited to 'test/kdm_cli_test.cc')
| -rw-r--r-- | test/kdm_cli_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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<string> args = { "kdm_cli", "--cinemas-file", - "test/data/cinemas.sqlite3", + path(current_path() / "test/data/cinemas.sqlite3").string(), "list-cinemas" }; |
