try to fix a few more tests
This commit is contained in:
parent
12bb69379b
commit
ba9126be5f
@ -2,7 +2,7 @@
|
|||||||
r_log "httpd" "Verify httpd branding"
|
r_log "httpd" "Verify httpd branding"
|
||||||
|
|
||||||
r_log "httpd" "Token"
|
r_log "httpd" "Token"
|
||||||
curl -sI http://localhost/ | grep -i "Server:\ Apache.*\ (Rocky)" > /dev/null 2>&1
|
curl -sI http://localhost/ | grep -i "Server:\ Apache.*\ (Rocky Linux)" > /dev/null 2>&1
|
||||||
r_checkExitStatus $?
|
r_checkExitStatus $?
|
||||||
|
|
||||||
r_log "httpd" "index"
|
r_log "httpd" "index"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
r_log "postgresql" "Initialize postgresql"
|
r_log "postgresql" "Initialize postgresql"
|
||||||
postgresql-setup --initdb
|
postgresql-setup --initdb
|
||||||
m_serviceCycler postgresql-server cycle
|
m_serviceCycler postgresql cycle
|
||||||
sleep 15
|
sleep 15
|
||||||
|
@ -4,8 +4,8 @@ if [ "$RL_VER" -eq 8 ]; then
|
|||||||
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial > /dev/null 2>&1 && \
|
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial > /dev/null 2>&1 && \
|
||||||
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rockytesting > /dev/null 2>&1
|
file /etc/pki/rpm-gpg/RPM-GPG-KEY-rockytesting > /dev/null 2>&1
|
||||||
else
|
else
|
||||||
file "/etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-${RL_VER}" > /ev/null 2>&1 && \
|
file "/etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-${RL_VER}" > /dev/null 2>&1 && \
|
||||||
file "/etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-${RL_VER}-Testing" > /ev/null 2>&1
|
file "/etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-${RL_VER}-Testing" > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
r_checkExitStatus $?
|
r_checkExitStatus $?
|
||||||
|
@ -110,6 +110,6 @@ r_log "shadow" "Test sg"
|
|||||||
sg onyxuser "touch /var/tmp/onyxsg"
|
sg onyxuser "touch /var/tmp/onyxsg"
|
||||||
r_checkExitStatus $?
|
r_checkExitStatus $?
|
||||||
r_log "shadow" "Verify sg worked"
|
r_log "shadow" "Verify sg worked"
|
||||||
stat --format="%U" /var/tmp/onyxsg | grep -q onyxuser
|
stat --format="%G" /var/tmp/onyxsg | grep -q onyxuser
|
||||||
r_checkExitStatus $?
|
r_checkExitStatus $?
|
||||||
rm /var/tmp/onyxsg
|
rm /var/tmp/onyxsg
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
r_log "tftp" "Configure tftp"
|
r_log "tftp" "Configure tftp"
|
||||||
|
|
||||||
cat <<EOF > /etc/xinetd.d/tftp
|
if [ "$RL_VER" -eq 8 ]; then
|
||||||
|
cat <<EOF > /etc/xinetd.d/tftp
|
||||||
service tftp
|
service tftp
|
||||||
{
|
{
|
||||||
socket_type = dgram
|
socket_type = dgram
|
||||||
@ -17,4 +18,6 @@ service tftp
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
m_serviceCycler tftp.socket start
|
m_serviceCycler tftp.socket start
|
||||||
|
Loading…
Reference in New Issue
Block a user