From 1fc8681969f631e894e1eb948dd1ed8e2a6cc507 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Wed, 14 Feb 2018 17:10:44 +0100 Subject: [PATCH] Use shared repository for tests https://fedoraproject.org/wiki/CI/Share_Test_Code --- tests/tests.yml | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/tests/tests.yml b/tests/tests.yml index a5a4a5b..eae9a66 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -5,15 +5,18 @@ - role: standard-test-beakerlib tags: - classic + repositories: + - repo: "https://src.fedoraproject.org/tests/selinux.git" + dest: "selinux" tests: - - getsebool - - realpath_not_final-function - - selabel-functions - - selinux_boolean_sub-function - - selinux_sestatus-functions - - selinux_set_callback - - selinux_restorecon-functions - - setenforce + - selinux/libselinux/getsebool + - selinux/libselinux/realpath_not_final-function + - selinux/libselinux/selabel-functions + - selinux/libselinux/selinux_boolean_sub-function + - selinux/libselinux/selinux_sestatus-functions + - selinux/libselinux/selinux_set_callback + - selinux/libselinux/selinux_restorecon-functions + - selinux/libselinux/setenforce required_packages: - libselinux - libselinux-devel @@ -31,8 +34,11 @@ - role: standard-test-beakerlib tags: - container + repositories: + - repo: "https://src.fedoraproject.org/tests/selinux.git" + dest: "selinux" tests: - - realpath_not_final-function + - selinux/libselinux/realpath_not_final-function required_packages: - libselinux - libselinux-devel @@ -45,6 +51,9 @@ - role: standard-test-beakerlib tags: - atomic + repositories: + - repo: "https://src.fedoraproject.org/tests/selinux.git" + dest: "selinux" tests: - - getsebool - - setenforce + - selinux/libselinux/getsebool + - selinux/libselinux/setenforce