aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-24 21:50:30 +0200
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2017-08-24 21:56:00 +0200
commit4e3a30b6f5338814d570e9859f22a2ca8bff4702 (patch)
tree5f46eb07509853307875b92e0a38d69311e5e0a1 /test
parent00e6794c81e8fd21032de842b3e099e5ce4bd098 (diff)
Skip testing null and ioctl examples under FreeBSD.
This seems to be unsupported. However, me may also be doing it wrong. I've asked on the freebsd-fs list for help.
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_examples.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_examples.py b/test/test_examples.py
index 6484992..948f994 100755
--- a/test/test_examples.py
+++ b/test/test_examples.py
@@ -167,6 +167,11 @@ def test_passthrough(tmpdir, name, debug, capfd):
else:
umount(mount_process, mnt_dir)
+# Is this really not supported? We should check with
+# the FreeBSD guys, maybe we're just doing something
+# wrong.
+@pytest.mark.skipif('freebsd' in sys.platform,
+ reason='not supported in FreeBSD')
def test_ioctl(tmpdir):
mnt_dir = str(tmpdir)
testfile = pjoin(mnt_dir, 'fioc')
@@ -208,6 +213,11 @@ def test_poll(tmpdir):
else:
umount(mount_process, mnt_dir)
+# Is this really not supported? We should check with
+# the FreeBSD guys, maybe we're just doing something
+# wrong.
+@pytest.mark.skipif('freebsd' in sys.platform,
+ reason='not supported in FreeBSD')
def test_null(tmpdir):
mnt_file = str(tmpdir) + '/file'
with open(mnt_file, 'w') as fh: