bind9/bin/tests/system/enginepkcs11/tests_sh_enginepkcs11.py
Nicki Křížek 7c259fe254 Replace clean.sh files with extra_artifacts mark
The artifact lists in clean.sh and extra_artifacts might be slightly
different. The list was updated for each test to reflect the current
state.
2024-11-08 10:54:24 +01:00

56 lines
1.4 KiB
Python

# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
#
# SPDX-License-Identifier: MPL-2.0
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
import pytest
import isctest.mark
pytestmark = pytest.mark.extra_artifacts(
[
"dig.out.*",
"dsset-*",
"keyfromlabel.err.*",
"keyfromlabel.out.*",
"pkcs11-tool.err.*",
"pkcs11-tool.out.*",
"signer.out.*",
"ns*/dig.out.*",
"ns*/K*",
"ns*/keygen.out.*",
"ns*/update.cmd.*",
"ns*/update.log.*",
"ns*/verify.out.*",
"ns*/pin",
"ns*/zone.*.jbk",
"ns*/zone.*.jnl",
"ns*/*.kskid1",
"ns*/*.kskid2",
"ns*/*.zskid1",
"ns*/*.zskid2",
"ns1/keys",
"ns1/*.example.db",
"ns1/*.example.db.signed",
"ns1/*.kasp.db",
"ns1/*.kasp.db.signed",
"ns1/*.split.db",
"ns1/*.split.db.signed",
"ns1/*.weird.db",
"ns1/*.weird.db.signed",
"ns2/keys",
"ns2/*.view*.db",
"ns2/*.view*.db.signed",
]
)
@isctest.mark.flaky(max_runs=3) # GL#4605
def test_enginepkcs11(run_tests_sh):
run_tests_sh()