From d2c665cba983c625933817e0bf05e298f80f0119 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 15 Mar 2024 00:41:20 +0100 Subject: Stop using video directory and hard-linking (#2756). Instead store details of a previously-created asset in the film's metadata and then look there for potential video files to re-use. --- test/map_cli_test.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/map_cli_test.cc') diff --git a/test/map_cli_test.cc b/test/map_cli_test.cc index 0600de31e..6b94be6fe 100644 --- a/test/map_cli_test.cc +++ b/test/map_cli_test.cc @@ -207,8 +207,7 @@ BOOST_AUTO_TEST_CASE(map_simple_dcp_copy_with_hardlinks) verify_dcp(out, {}); - /* The video file will have 3 links because DoM also makes a link into the video directory */ - BOOST_CHECK_EQUAL(boost::filesystem::hard_link_count(find_prefix(out, "j2c_")), 3U); + BOOST_CHECK_EQUAL(boost::filesystem::hard_link_count(find_prefix(out, "j2c_")), 2U); BOOST_CHECK_EQUAL(boost::filesystem::hard_link_count(find_prefix(out, "pcm_")), 2U); } -- cgit v1.2.3