summaryrefslogtreecommitdiff
path: root/test/sbuild/chroot/chroot.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/sbuild/chroot/chroot.cc')
-rw-r--r--test/sbuild/chroot/chroot.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/test/sbuild/chroot/chroot.cc b/test/sbuild/chroot/chroot.cc
index c7341a26..9088f473 100644
--- a/test/sbuild/chroot/chroot.cc
+++ b/test/sbuild/chroot/chroot.cc
@@ -22,6 +22,7 @@
#include <sbuild/keyfile-writer.h>
#include <test/sbuild/chroot/chroot.h>
+#include <test/sbuild/chroot/chroot.h>
#include <algorithm>
#include <set>
@@ -60,12 +61,6 @@ public:
get_chroot_type () const
{ static const std::string type("test"); return type; }
- void
- set_run_setup_scripts (bool run_setup_scripts)
- {
- sbuild::chroot::chroot::set_run_setup_scripts(run_setup_scripts);
- }
-
virtual std::string
get_path () const
{ return get_mount_location(); }
@@ -255,10 +250,6 @@ public:
std::shared_ptr<basic_chroot> c = std::dynamic_pointer_cast<basic_chroot>(chroot);
CPPUNIT_ASSERT(chroot->get_run_setup_scripts() == true);
- c->set_run_setup_scripts(false);
- CPPUNIT_ASSERT(chroot->get_run_setup_scripts() == false);
- c->set_run_setup_scripts(true);
- CPPUNIT_ASSERT(chroot->get_run_setup_scripts() == true);
}
void test_verbose()