summaryrefslogtreecommitdiff
path: root/tests/test_verify.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_verify.py')
-rw-r--r--tests/test_verify.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_verify.py b/tests/test_verify.py
index a255068..d244c0b 100644
--- a/tests/test_verify.py
+++ b/tests/test_verify.py
@@ -278,6 +278,9 @@ class EmptyFileVerificationTest(unittest.TestCase):
(False, [('__exists__', False, True)]))
def testCrossFilesystem(self):
+ if not os.path.ismount('/proc'):
+ raise unittest.SkipTest('/proc is not a mountpoint')
+
try:
st = os.stat('/proc')
except OSError:
@@ -352,6 +355,9 @@ class EmptyFileVerificationTest(unittest.TestCase):
})
def test_update_cross_filesystem(self):
+ if not os.path.ismount('/proc'):
+ raise unittest.SkipTest('/proc is not a mountpoint')
+
try:
st = os.stat('/proc')
except OSError: