aba7ab
---
aba7ab
# Test to run in classic context
aba7ab
- hosts: localhost
aba7ab
  roles:
aba7ab
  - role: standard-test-beakerlib
aba7ab
    tags:
aba7ab
    - classic
1fc868
    repositories:
1fc868
    - repo: "https://src.fedoraproject.org/tests/selinux.git"
1fc868
      dest: "selinux"
aba7ab
    tests:
1fc868
    - selinux/libselinux/getsebool
1fc868
    - selinux/libselinux/realpath_not_final-function
1fc868
    - selinux/libselinux/selabel-functions
1fc868
    - selinux/libselinux/selinux_boolean_sub-function
1fc868
    - selinux/libselinux/selinux_sestatus-functions
1fc868
    - selinux/libselinux/selinux_set_callback
1fc868
    - selinux/libselinux/selinux_restorecon-functions
1fc868
    - selinux/libselinux/setenforce
aba7ab
    required_packages:
aba7ab
    - libselinux
aba7ab
    - libselinux-devel
aba7ab
    - libselinux-utils
aba7ab
    - glibc
aba7ab
    - gcc
aba7ab
    - attr
aba7ab
    - strace
aba7ab
    - audit
aba7ab
    - e2fsprogs
aba7ab
aba7ab
# Tests to run inside a container
aba7ab
- hosts: localhost
aba7ab
  roles:
aba7ab
  - role: standard-test-beakerlib
aba7ab
    tags:
aba7ab
    - container
1fc868
    repositories:
1fc868
    - repo: "https://src.fedoraproject.org/tests/selinux.git"
1fc868
      dest: "selinux"
aba7ab
    tests:
1fc868
    - selinux/libselinux/realpath_not_final-function
aba7ab
    required_packages:
aba7ab
    - libselinux
aba7ab
    - libselinux-devel
aba7ab
    - glibc
aba7ab
    - gcc
aba7ab
aba7ab
# Tests to run for Atomic Host
aba7ab
- hosts: localhost
aba7ab
  roles:
aba7ab
  - role: standard-test-beakerlib
aba7ab
    tags:
aba7ab
    - atomic
1fc868
    repositories:
1fc868
    - repo: "https://src.fedoraproject.org/tests/selinux.git"
1fc868
      dest: "selinux"
aba7ab
    tests:
1fc868
    - selinux/libselinux/getsebool
1fc868
    - selinux/libselinux/setenforce