9:

https://dev-ci.inferitos.ru/job/rpmTests/job/Docker_tests/4054/ --- systemd

https://dev-ci.inferitos.ru/job/rpmTests/job/Docker_tests/4055/ --- httpd

8:

https://dev-ci.inferitos.ru/job/rpmTests/job/Docker_tests/4057/ --- systemd

Co-authored-by: Pavel Negrobov <Pavel.Negrobov@softline.com>
Reviewed-on: #4
pull/5/head
Pavel Negrobov 9 months ago
parent 00b2dfac6d
commit cbdba03f47

@ -8,18 +8,10 @@ then
php_mysql="php-mysqlnd" php_mysql="php-mysqlnd"
fi fi
#curl="curl"
#if [ $centos_ver -ge 8 ] & [ "$CONTAINERTEST" -eq "1" ]
#then
# curl="curl"
#fi
# Install tests deps # Install tests deps
# t_Log "Running $0 - httpd: installing $curl, http, php and $php_mysql" # t_Log "Running $0 - httpd: installing $curl, http, php and $php_mysql"
t_Log "Running $0 - httpd: installing http, php and $php_mysql" t_Log "Running $0 - httpd: installing http, php and $php_mysql"
#t_InstallPackage curl
# HTTPD / PHP # HTTPD / PHP
# t_InstallPackage $curl httpd mod_ssl php $php_mysql # t_InstallPackage $curl httpd mod_ssl php $php_mysql
t_InstallPackage httpd mod_ssl php $php_mysql t_InstallPackage httpd mod_ssl php $php_mysql

@ -1,8 +0,0 @@
#!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com>
t_Log "Running $0 - httpd: centos branding / Server tokens value "
curl -sI http://localhost/ | grep -i "Server:\ Apache.*\ (CentOS" > /dev/null 2>&1
t_CheckExitStatus $?

@ -1,8 +0,0 @@
#!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com>
t_Log "Running $0 - httpd: Welcome page has CentOS Branding."
curl -s http://localhost/ | grep 'CentOS' > /dev/null 2>&1
t_CheckExitStatus $?

@ -0,0 +1,9 @@
#!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com>
# 27.03.2024 Pavel Negrobov <pnegrobov@msvsphere-os.ru> -- адаптация для MSVSphere ОС
t_Log "Running $0 - httpd: MSVSphere branding / Server tokens value "
curl -sI http://localhost/ | grep -i "Server:\ Apache.*\ (MSVSphere" > /dev/null 2>&1
t_CheckExitStatus $?

@ -0,0 +1,9 @@
#!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com>
# 27.03.2024 Pavel Negrobov <pnegrobov@msvsphere-os.ru> -- адаптация для MSVSphere ОС
t_Log "Running $0 - httpd: Welcome page has MSVSphere Branding."
curl -s http://localhost/ | grep 'Инферит МСВСфера ОС' > /dev/null 2>&1
t_CheckExitStatus $?

@ -1,8 +1,9 @@
#!/bin/sh #!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com> # Author: Athmane Madjoudj <athmanem@gmail.com>
# 27.03.2024 Pavel Negrobov <pnegrobov@msvsphere-os.ru> -- адаптация для MSVSphere ОС
t_Log "Running $0 - httpd: serve html page" t_Log "Running $0 - httpd: serve html page"
curl -H 'Accept-Language: en' -s http://localhost/ | grep 'Test Page' > /dev/null 2>&1 curl -H 'Accept-Language: en' -s http://localhost/ | grep 'Тестовая страница HTTP-сервера' > /dev/null 2>&1
t_CheckExitStatus $? t_CheckExitStatus $?

@ -1,8 +1,10 @@
#!/bin/sh #!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com> # Author: Athmane Madjoudj <athmanem@gmail.com>
# 27.03.2024 Pavel Negrobov <pnegrobov@msvsphere-os.ru> -- адаптация для MSVSphere ОС
t_Log "Running $0 - httpd: serve html page over SSL " t_Log "Running $0 - httpd: serve html page over SSL "
curl -H 'Accept-Language: en' -ks https://localhost/ | grep 'Test Page' > /dev/null 2>&1 curl -H 'Accept-Language: en' -ks https://localhost/ | grep 'Тестовая страница HTTP-сервера' > /dev/null 2>&1
t_CheckExitStatus $? t_CheckExitStatus $?

@ -0,0 +1,9 @@
#!/bin/bash
echo "Подготовка окружения для тестирования пакета ${TEST_PACKAGE_NAME}"
/bin/dnf -y install audit kexec-tools
/bin/systemctl enable auditd
exit 0

@ -1,5 +1,10 @@
#!/bin/bash #!/bin/bash -x
# Author: Rene Diepstraten <rene@renediepstraten.nl> # Author: Rene Diepstraten <rene@renediepstraten.nl>
# 28.03.2024 Pavel Negrobov <pnegrobov@msvsphere-os.ru> -- skip для MSVSphere ОС
# https://inferitos.asproagile.ru/_module/agile/view/issue/1285
t_Log "Running $0 - skip for MSVSphere. Please see https://inferitos.asproagile.ru/_module/agile/view/issue/1285"
exit 0
[ ${centos_ver} -lt 7 ] && exit [ ${centos_ver} -lt 7 ] && exit
t_Log "Running $0 - checking if systemctl can check a service status" t_Log "Running $0 - checking if systemctl can check a service status"

Loading…
Cancel
Save