diff --git a/.gitignore b/.gitignore index b805ce1..4d86dbc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,15 @@ -SOURCES/mod_auth_gssapi-1.6.1.tar.gz +/mod_auth_gssapi-1.0.1.tar.gz +/mod_auth_gssapi-1.0.2.tar.gz +/mod_auth_gssapi-1.0.3.tar.gz +/mod_auth_gssapi-1.0.4.tar.gz +/mod_auth_gssapi-1.1.0.tar.gz +/mod_auth_gssapi-1.2.0.tar.gz +/mod_auth_gssapi-1.3.0.tar.gz +/mod_auth_gssapi-1.3.1.tar.gz +/mod_auth_gssapi-1.3.2.tar.gz +/mod_auth_gssapi-1.4.0.tar.gz +/mod_auth_gssapi-1.4.1.tar.gz +/mod_auth_gssapi-1.5.0.tar.gz +/mod_auth_gssapi-1.5.1.tar.gz +/mod_auth_gssapi-1.6.0.tar.gz /mod_auth_gssapi-1.6.1.tar.gz diff --git a/tests/driver/runtest.sh b/tests/driver/runtest.sh new file mode 100755 index 0000000..a57571c --- /dev/null +++ b/tests/driver/runtest.sh @@ -0,0 +1,10 @@ +#!/bin/sh -ex + +cd ../source + +# Fake a build... +mkdir -p src/.libs +cp /usr/lib64/httpd/modules/mod_auth_gssapi.so src/.libs + +# ... and run the tests. +./tests/magtests.py || (cat scratchdir/tests.log scratchdir/httpd/logs/error_log ; exit -1) diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..b197926 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,57 @@ +--- +- hosts: localhost + tags: classic + tasks: + - name: Add epel repo + yum_repository: + name: epel8 + file: epel8 + description: EPEL Repo of RHEL 8 + baseurl: https://download.fedoraproject.org/pub/epel/8/Everything/x86_64/ + enabled: yes + gpgcheck: no + - name: Add buildroot repo + yum_repository: + name: buildroot8 + file: buildroot8 + description: buildroot + baseurl: http://download.devel.redhat.com/rhel-8/nightly/BUILDROOT-8/latest-BUILDROOT-8.7-RHEL-8/compose/Buildroot/x86_64/os/ + enabled: yes + gpgcheck: no + - name: Add CRB repo + yum_repository: + name: crb8 + file: crb8 + description: crb + baseurl: http://download.eng.brq.redhat.com/rhel-8/nightly/RHEL-8/latest-RHEL-8.7/compose/CRB/x86_64/os/ + enabled: yes + gpgcheck: no + - name: Life is short + shell: dnf -y builddep mod_auth_gssapi + args: + warn: false + +- hosts: localhost + roles: + - role: standard-test-source + tags: + - always + - role: standard-test-basic + tags: + - atomic + - classic + required_packages: + - gcc + - libfaketime + - krb5-devel + - krb5-pkinit + - krb5-server + - krb5-workstation + - mod_auth_gssapi # wut + - mod_session + - nss_wrapper + - python3-requests-gssapi + - python3-virtualenv + - socket_wrapper + tests: + - driver