mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Update lib/tests.sh
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
This commit is contained in:
parent
a3f9ccd4ec
commit
dd92428819
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ _VALIDATE_THAT_APP_CAN_BE_ACCESSED () {
|
||||||
|
|
||||||
# Check if the page title is neither the YunoHost portail or default NGINX page
|
# Check if the page title is neither the YunoHost portail or default NGINX page
|
||||||
# And check if the "Real URL" is the ynh sso
|
# And check if the "Real URL" is the ynh sso
|
||||||
if [ "$page_title" = "YunoHost Portal" ] || cat $TEST_CONTEXT/curl_print | cut --delimiter=';' --fields=2 | grep -q "/yunohost/sso"
|
if [ "$page_title" = "YunoHost Portal" ] || (cat $TEST_CONTEXT/curl_print | cut --delimiter=';' --fields=2 | grep -q "/yunohost/sso")
|
||||||
then
|
then
|
||||||
log_debug "The connection attempt fall on the YunoHost portal."
|
log_debug "The connection attempt fall on the YunoHost portal."
|
||||||
fell_on_sso_portal=1
|
fell_on_sso_portal=1
|
||||||
|
|
Loading…
Add table
Reference in a new issue