mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-04 18:48:43 +00:00
platform_freebsd.py
dummy test file (#7748)
This commit is contained in:
parent
1e7dec1541
commit
f29fd80311
2 changed files with 31 additions and 0 deletions
|
@ -73,6 +73,7 @@ def are_acls_working():
|
||||||
# define skips available to platform tests
|
# define skips available to platform tests
|
||||||
skipif_not_linux = pytest.mark.skipif(not is_linux, reason="linux only test")
|
skipif_not_linux = pytest.mark.skipif(not is_linux, reason="linux only test")
|
||||||
skipif_not_darwin = pytest.mark.skipif(not is_darwin, reason="darwin only test")
|
skipif_not_darwin = pytest.mark.skipif(not is_darwin, reason="darwin only test")
|
||||||
|
skipif_not_freebsd = pytest.mark.skipif(not is_freebsd, reason="freebsd only test")
|
||||||
skipif_not_posix = pytest.mark.skipif(not (is_linux or is_freebsd or is_darwin), reason="POSIX only tests")
|
skipif_not_posix = pytest.mark.skipif(not (is_linux or is_freebsd or is_darwin), reason="POSIX only tests")
|
||||||
skipif_fakeroot_detected = pytest.mark.skipif(fakeroot_detected(), reason="not compatible with fakeroot")
|
skipif_fakeroot_detected = pytest.mark.skipif(fakeroot_detected(), reason="not compatible with fakeroot")
|
||||||
skipif_acls_not_working = pytest.mark.skipif(not are_acls_working(), reason="ACLs do not work")
|
skipif_acls_not_working = pytest.mark.skipif(not are_acls_working(), reason="ACLs do not work")
|
||||||
|
|
30
src/borg/testsuite/platform_freebsd.py
Normal file
30
src/borg/testsuite/platform_freebsd.py
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
"""Dummy file for now, will eventually contain FreeBSD ACL tests."""
|
||||||
|
import pytest
|
||||||
|
|
||||||
|
from .platform import skipif_not_freebsd
|
||||||
|
|
||||||
|
# set module-level skips
|
||||||
|
pytestmark = [skipif_not_freebsd]
|
||||||
|
|
||||||
|
|
||||||
|
def get_acl():
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
def get_set_acl():
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skip(reason="not yet implemented")
|
||||||
|
def test_access_acl():
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skip(reason="not yet implemented")
|
||||||
|
def test_default_acl():
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skip(reason="not yet implemented")
|
||||||
|
def test_nfs4_acl():
|
||||||
|
pass
|
Loading…
Add table
Reference in a new issue