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.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_verify.py b/tests/test_verify.py
index d244c0b..c2fbe7d 100644
--- a/tests/test_verify.py
+++ b/tests/test_verify.py
@@ -1,6 +1,6 @@
# gemato: Verification tests
# vim:fileencoding=utf-8
-# (c) 2017 Michał Górny
+# (c) 2017-2018 Michał Górny
# Licensed under the terms of 2-clause BSD license
import io
@@ -293,6 +293,9 @@ class EmptyFileVerificationTest(unittest.TestCase):
expected_dev=st.st_dev)
def testCrossFilesystemAssert(self):
+ if not os.path.ismount('/proc'):
+ raise unittest.SkipTest('/proc is not a mountpoint')
+
try:
st = os.stat('/proc')
except OSError: