Adjust disk/partition sizes to trigger another bug.
authorCarl Hetherington <cth@carlh.net>
Sun, 19 Jun 2022 23:34:56 +0000 (01:34 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 21 Jun 2022 16:55:16 +0000 (18:55 +0200)
test/disk_writer_test.cc

index 481e72548065596772df092496a4d77361476111..a27da0c5f17999774e96e6ce4b60a888b077c039 100644 (file)
@@ -147,8 +147,8 @@ BOOST_AUTO_TEST_CASE (disk_writer_test2)
        cl.add(disk);
        cl.add(partition);
 
        cl.add(disk);
        cl.add(partition);
 
-       make_random_file(disk, 4LL * 1024LL * 1024LL * 1024LL);
-       make_random_file(partition, 4LL * 1024LL * 1024LL * 1024LL);
+       make_random_file(disk,      31043616768LL);
+       make_random_file(partition, 31043571712LL);
 
        auto const dcp = TestPaths::private_data() / "xm";
        dcpomatic::write(dcp, disk.string(), partition.string(), nullptr);
 
        auto const dcp = TestPaths::private_data() / "xm";
        dcpomatic::write(dcp, disk.string(), partition.string(), nullptr);