aboutsummaryrefslogtreecommitdiff
path: root/paludis/tar_merger_TEST.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/tar_merger_TEST.cc')
-rw-r--r--paludis/tar_merger_TEST.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/tar_merger_TEST.cc b/paludis/tar_merger_TEST.cc
index 6fed784d7..96d718c16 100644
--- a/paludis/tar_merger_TEST.cc
+++ b/paludis/tar_merger_TEST.cc
@@ -31,6 +31,9 @@
#include <paludis/util/stringify.hh>
#include <paludis/util/make_null_shared_ptr.hh>
#include <paludis/util/fs_stat.hh>
+#include <paludis/util/return_literal_function.hh>
+
+#include <functional>
#include <gtest/gtest.h>
@@ -98,6 +101,7 @@ TEST(TarMerger, Works)
n::merged_entries() = std::make_shared<FSPathSet>(),
n::no_chown() = true,
n::options() = MergerOptions() + mo_rewrite_symlinks,
+ n::permit_destination() = std::bind(return_literal_function(true)),
n::root() = FSPath("/"),
n::tar_file() = output
));