diff --git a/lib/tests.sh b/lib/tests.sh index 75ffacc..1e22bf5 100644 --- a/lib/tests.sh +++ b/lib/tests.sh @@ -319,7 +319,7 @@ _VALIDATE_THAT_APP_CAN_BE_ACCESSED () { # Check if the page title is neither the YunoHost portail or default NGINX page # 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 log_debug "The connection attempt fall on the YunoHost portal." fell_on_sso_portal=1