aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/environments/test/test_environment.cc6
-rw-r--r--paludis/environments/test/test_environment.hh2
2 files changed, 8 insertions, 0 deletions
diff --git a/paludis/environments/test/test_environment.cc b/paludis/environments/test/test_environment.cc
index 74ddf014d..06578bfe6 100644
--- a/paludis/environments/test/test_environment.cc
+++ b/paludis/environments/test/test_environment.cc
@@ -312,3 +312,9 @@ TestEnvironment::update_config_files_for_package_move(const PackageDepSpec &, co
{
}
+void
+TestEnvironment::set_system_root(const FSPath & p)
+{
+ _imp->system_root_key->change_value(p);
+}
+
diff --git a/paludis/environments/test/test_environment.hh b/paludis/environments/test/test_environment.hh
index 6e6d7655b..e202d8f2d 100644
--- a/paludis/environments/test/test_environment.hh
+++ b/paludis/environments/test/test_environment.hh
@@ -139,6 +139,8 @@ namespace paludis
virtual void update_config_files_for_package_move(
const PackageDepSpec &, const QualifiedPackageName &) const;
+
+ void set_system_root(const FSPath &);
};
}