diff options
Diffstat (limited to 'test/test_ruby_isolation.py')
-rw-r--r-- | test/test_ruby_isolation.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/test_ruby_isolation.py b/test/test_ruby_isolation.py index be20300e..e88c60b2 100644 --- a/test/test_ruby_isolation.py +++ b/test/test_ruby_isolation.py @@ -33,15 +33,9 @@ class TestRubyIsolation(TestApplicationRuby): if not 'unprivileged_userns_clone' in isolation_features: pytest.skip('requires unprivileged userns or root') - os.mkdir(self.temp_dir + '/ruby') - - shutil.copytree( - option.test_dir + '/ruby/status_int', - self.temp_dir + '/ruby/status_int', - ) isolation = { 'namespaces': {'credential': not is_su, 'mount': True}, - 'rootfs': self.temp_dir, + 'rootfs': option.test_dir, } self.load('status_int', isolation=isolation) |