From 4e3a30b6f5338814d570e9859f22a2ca8bff4702 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Thu, 24 Aug 2017 21:50:30 +0200 Subject: 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. --- test/test_examples.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test') 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: -- cgit v1.2.3