From c2edae1f2556c10dd47b6920c29f8c9005f08820 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Tue, 23 Feb 2016 15:44:51 -0800 Subject: Skip tests requiring /proc Origin: debian Forwarded: no Patch-Name: proc_mount.diff Gbp-Pq: Name proc_mount.diff --- tests/t4_adm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/t4_adm.py b/tests/t4_adm.py index 005c91b..1d8ad7a 100755 --- a/tests/t4_adm.py +++ b/tests/t4_adm.py @@ -22,6 +22,7 @@ import tempfile import unittest import subprocess import pytest +import os @pytest.mark.usefixtures('s3ql_cmd_argv', 'pass_reg_output') class AdmTests(unittest.TestCase): @@ -56,6 +57,7 @@ class AdmTests(unittest.TestCase): return stdout + @unittest.skipUnless(os.path.exists('/proc/mounts'), '/proc/mounts not available') def test_passphrase(self): self.mkfs() -- cgit v1.2.3