test/stages: skip unless we can bind mount
We need to be able to bind-mount in the stages tests, so skip all of those if we can't (because we are not root).
This commit is contained in:
parent
ef5875e1f4
commit
18fc8aa85e
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ def find_stage(result, stageid):
|
|||
|
||||
@unittest.skipUnless(test.TestBase.have_test_data(), "no test-data access")
|
||||
@unittest.skipUnless(test.TestBase.have_tree_diff(), "tree-diff missing")
|
||||
@unittest.skipUnless(test.TestBase.can_bind_mount(), "root-only")
|
||||
class TestStages(test.TestBase):
|
||||
|
||||
def assertTreeDiffsEqual(self, tree_diff1, tree_diff2):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue