This commit is contained in:
Florian Bruhin 2022-03-04 09:57:57 +01:00
parent 44c7578bb2
commit 2e5eab3dcc
2 changed files with 20 additions and 15 deletions

View File

@ -316,9 +316,12 @@ qt.chromium.sandboxing:
`config.py`, not via `:set`.
See the Chromium documentation for more details:
- Linux: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/linux/sandboxing.md
- Windows: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/design/sandbox.md
- FAQ (Windows-centric): https://chromium.googlesource.com/chromium/src/+/HEAD/docs/design/sandbox_faq.md
- Linux:
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/linux/sandboxing.md
- Windows:
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/design/sandbox.md
- FAQ (Windows-centric):
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/design/sandbox_faq.md
qt.highdpi:
type: Bool

View File

@ -829,19 +829,21 @@ def test_json_logging_without_debug(request, quteproc_new, runtime_tmpdir):
@pytest.mark.qtwebkit_skip
@pytest.mark.parametrize('sandboxing, has_namespaces, has_seccomp, has_yama, expected_result', [
pytest.param(
'enable-all',
True, True, True,
"You are adequately sandboxed.",
marks=pytest.mark.skipif(
testutils.disable_seccomp_bpf_sandbox(),
reason="Full sandboxing not supported",
@pytest.mark.parametrize(
'sandboxing, has_namespaces, has_seccomp, has_yama, expected_result', [
pytest.param(
'enable-all',
True, True, True,
"You are adequately sandboxed.",
marks=pytest.mark.skipif(
testutils.disable_seccomp_bpf_sandbox(),
reason="Full sandboxing not supported",
),
),
),
('disable-seccomp-bpf', True, False, True, "You are NOT adequately sandboxed."),
('disable-all', False, False, False, "You are NOT adequately sandboxed."),
])
('disable-seccomp-bpf', True, False, True, "You are NOT adequately sandboxed."),
('disable-all', False, False, False, "You are NOT adequately sandboxed."),
]
)
def test_sandboxing(
request, quteproc_new, sandboxing,
has_namespaces, has_seccomp, has_yama, expected_result,