diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-01-10 14:34:42 -0800 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-01-10 14:42:26 -0800 |
commit | 5c76353fe637a8ca769d25d0b0ad1b166606e5c7 (patch) | |
tree | e91284aad519aecc31d0a9fc9f5aa91cc92ee158 /test/test_examples.py | |
parent | 09d388570b5ad0085855d90eea9be653e4bc9723 (diff) |
Skip tests if not root and no setuid fusermount3.
Diffstat (limited to 'test/test_examples.py')
-rwxr-xr-x | test/test_examples.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_examples.py b/test/test_examples.py index 95eeb9a..cfd6734 100755 --- a/test/test_examples.py +++ b/test/test_examples.py @@ -17,11 +17,13 @@ import platform from distutils.version import LooseVersion from tempfile import NamedTemporaryFile from util import (wait_for_mount, umount, cleanup, base_cmdline, - safe_sleep, basename) + safe_sleep, basename, fuse_test_marker) from os.path import join as pjoin TEST_FILE = __file__ +pytestmark = fuse_test_marker() + with open(TEST_FILE, 'rb') as fh: TEST_DATA = fh.read() |