summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/t4_adm.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/t4_adm.py b/tests/t4_adm.py
index a17267e..36e7f6a 100755
--- a/tests/t4_adm.py
+++ b/tests/t4_adm.py
@@ -19,6 +19,7 @@ import tempfile
import unittest
import subprocess
import pytest
+import os
@pytest.mark.usefixtures('s3ql_cmd_argv', 'pass_reg_output')
class AdmTests(unittest.TestCase):
@@ -49,6 +50,7 @@ class AdmTests(unittest.TestCase):
self.reg_output(r'^WARNING: Maximum object sizes less than '
'1 MiB will degrade performance\.$', count=1)
+ @unittest.skipUnless(os.path.exists('/proc/mounts'), '/proc/mounts not available')
def test_passphrase(self):
self.mkfs()