mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
testing_process: better explain why public/private test fails
This commit is contained in:
parent
8f1785ee0c
commit
421e280edb
1 changed files with 2 additions and 0 deletions
|
@ -664,12 +664,14 @@ CHECK_PUBLIC_PRIVATE () {
|
||||||
then
|
then
|
||||||
# In private mode, if curl doesn't fell on the ynh portal, it's a fail.
|
# In private mode, if curl doesn't fell on the ynh portal, it's a fail.
|
||||||
if [ $yuno_portal -eq 0 ]; then
|
if [ $yuno_portal -eq 0 ]; then
|
||||||
|
ECHO_FORMAT "App is not private: it should redirect to the Yunohost portal, but is publicly accessible instead\n" "lyellow" clog
|
||||||
yunohost_result=1
|
yunohost_result=1
|
||||||
fi
|
fi
|
||||||
elif [ "$install_type" = "public" ]
|
elif [ "$install_type" = "public" ]
|
||||||
then
|
then
|
||||||
# In public mode, if curl fell on the ynh portal, it's a fail.
|
# In public mode, if curl fell on the ynh portal, it's a fail.
|
||||||
if [ $yuno_portal -eq 1 ]; then
|
if [ $yuno_portal -eq 1 ]; then
|
||||||
|
ECHO_FORMAT "App page is not public: it should be publicly accessible, but redirects to the Yunohost portal instead\n" "lyellow" clog
|
||||||
yunohost_result=1
|
yunohost_result=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue