diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2022-07-07 12:24:29 +0200 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2022-07-08 12:18:47 +0200 |
commit | 324ef7528d81513f812cd0044836ddc11b883190 (patch) | |
tree | 97655804c1d5c54b0d9c8c8936ce88be0bb52818 | |
parent | f03a464bd163de9f3c464a3b03ab3c4b7543e9a0 (diff) | |
download | mod_intercept_form_submit-324ef7528d81513f812cd0044836ddc11b883190.tar.gz mod_intercept_form_submit-324ef7528d81513f812cd0044836ddc11b883190.tar.xz mod_intercept_form_submit-324ef7528d81513f812cd0044836ddc11b883190.zip |
-rwxr-xr-x | tests/build.sh | 2 | ||||
-rwxr-xr-x | tests/config.sh | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/build.sh b/tests/build.sh index ca4cba3..e07f718 100755 --- a/tests/build.sh +++ b/tests/build.sh @@ -12,7 +12,7 @@ if type dnf 2> /dev/null ; then BUILDDEP='dnf builddep' fi -$DNF install -y --setopt=install_weak_deps=False rpm-build "$BUILDDEP_PROVIDER" +$DNF install -y --setopt=install_weak_deps=False rpm-build "$BUILDDEP_PROVIDER" libselinux-utils $BUILDDEP -y --setopt=install_weak_deps=False mod_intercept_form_submit.spec NAME_VERSION=$( rpm -q --qf '%{name}-%{version}\n' --specfile mod_intercept_form_submit.spec | head -1 ) mkdir .$NAME_VERSION diff --git a/tests/config.sh b/tests/config.sh index 19024dd..9bdfd54 100755 --- a/tests/config.sh +++ b/tests/config.sh @@ -21,3 +21,7 @@ fi echo "$NAME:myši & zajíci" | chpasswd chgrp apache /etc/shadow chmod g+r /etc/shadow +# In dist-git / Fedora CI testing, we also need the proper SELinux configuration +if selinuxenabled ; then + setsebool allow_httpd_mod_auth_pam 1 +fi |