aba7ab1 Initial commit for downstream tests to be run using the standard test interface

41 files Authored by rasibley 6 years ago, Committed by plautrba 6 years ago,
41 files changed. 3564 lines added. 0 lines removed.
tests/getsebool/Makefile
file added
+64
tests/getsebool/PURPOSE
file added
+5
tests/getsebool/runtest.sh
file added
+68
tests/realpath_not_final-function/Makefile
file added
+63
tests/realpath_not_final-function/PURPOSE
file added
+3
tests/realpath_not_final-function/runtest.sh
file added
+66
tests/realpath_not_final-function/test.c
file added
+44
tests/selabel-functions/Makefile
file added
+63
tests/selabel-functions/PURPOSE
file added
+3
tests/selabel-functions/runtest.sh
file added
+858
tests/selabel-functions/test_best.c
file added
+159
tests/selabel-functions/test_digest.c
file added
+121
tests/selabel-functions/test_lookup.c
file added
+189
tests/selabel-functions/test_open.c
file added
+100
tests/selabel-functions/test_partial.c
file added
+115
tests/selabel-functions/test_stats.c
file added
+83
tests/selinux_boolean_sub-function/Makefile
file added
+63
tests/selinux_boolean_sub-function/PURPOSE
file added
+3
tests/selinux_boolean_sub-function/runtest.sh
file added
+78
tests/selinux_boolean_sub-function/test.c
file added
+31
tests/selinux_restorecon-functions/Makefile
file added
+63
tests/selinux_restorecon-functions/PURPOSE
file added
+3
tests/selinux_restorecon-functions/runtest.sh
file added
+367
tests/selinux_restorecon-functions/test_exclude_list.c
file added
+55
tests/selinux_restorecon-functions/test_restorecon.c
file added
+57
tests/selinux_restorecon-functions/test_sehandle.c
file added
+64
tests/selinux_restorecon/Makefile
file added
+64
tests/selinux_restorecon/PURPOSE
file added
+5
tests/selinux_restorecon/runtest.sh
file added
+77
tests/selinux_sestatus-functions/Makefile
file added
+63
tests/selinux_sestatus-functions/PURPOSE
file added
+3
tests/selinux_sestatus-functions/runtest.sh
file added
+65
tests/selinux_sestatus-functions/test.c
file added
+38
tests/selinux_set_callback/Makefile
file added
+63
tests/selinux_set_callback/PURPOSE
file added
+3
tests/selinux_set_callback/runtest.sh
file added
+60
tests/selinux_set_callback/test_callback.c
file added
+127
tests/setenforce/Makefile
file added
+64
tests/setenforce/PURPOSE
file added
+5
tests/setenforce/runtest.sh
file added
+88
tests/tests.yml
file added
+51
    Initial commit for downstream tests to be run using the standard test interface
    
    The following steps are used to execute the tests using the standard test interface:
    
    Docker
    
        sudo ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory) TEST_SUBJECTS=docker:docker.io/library/fedora:26 TEST_ARTIFACTS=$PWD/artifacts ansible-playbook --tags container tests.yml
    
    Classic
    
        sudo ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory) TEST_SUBJECTS="" TEST_ARTIFACTS=$PWD/artifacts ansible-playbook --tags classic tests.yml
    
    https://src.fedoraproject.org/rpms/libselinux/pull-request/1
    
        
file added
+51