mirror of
https://github.com/joglomedia/LEMPer.git
synced 2026-04-11 23:48:19 +00:00
Update shunit test
This commit is contained in:
@@ -43,14 +43,6 @@ testTrueInstallCertbot()
|
||||
assertTrue "[[ ${cb} -gt 0 ]]"
|
||||
}
|
||||
|
||||
testEqualityInstallPhp()
|
||||
{
|
||||
. scripts/install_php.sh
|
||||
|
||||
php_bin=$(command -v php)
|
||||
assertEquals "/usr/bin/php" "${php_bin}"
|
||||
}
|
||||
|
||||
testTrueInstallNginx()
|
||||
{
|
||||
. scripts/install_nginx.sh
|
||||
@@ -59,6 +51,14 @@ testTrueInstallNginx()
|
||||
assertTrue "[[ ${ngx} -gt 0 ]]"
|
||||
}
|
||||
|
||||
testEqualityInstallPhp()
|
||||
{
|
||||
. scripts/install_php.sh
|
||||
|
||||
php_bin=$(command -v php)
|
||||
assertEquals "/usr/bin/php" "${php_bin}"
|
||||
}
|
||||
|
||||
testEqualityInstallMySQL()
|
||||
{
|
||||
. scripts/install_mariadb.sh
|
||||
|
||||
Reference in New Issue
Block a user