diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-02-23 15:44:51 -0800 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-28 14:07:23 -0700 |
commit | e7541d5f28330b0c85dc082d818a0f741f5279cb (patch) | |
tree | a1c26c0f403c34eb07aa42c7eba617a0190ec71b | |
parent | af52eed4153df1e91a1cdbad7896c06bf0720ee4 (diff) |
Skip tests requiring /proc
Origin: debian
Forwarded: no
Patch-Name: proc_mount.diff
Gbp-Pq: Name proc_mount.diff
-rwxr-xr-x | tests/t4_adm.py | 2 |
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() |