From 421e280edb98f4b3e974327cbde7f3a8c4391c44 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 17 Oct 2017 18:16:05 +0530 Subject: [PATCH] testing_process: better explain why public/private test fails --- sub_scripts/testing_process.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sub_scripts/testing_process.sh b/sub_scripts/testing_process.sh index f392ed6..936ff6d 100644 --- a/sub_scripts/testing_process.sh +++ b/sub_scripts/testing_process.sh @@ -664,12 +664,14 @@ CHECK_PUBLIC_PRIVATE () { then # In private mode, if curl doesn't fell on the ynh portal, it's a fail. 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 fi elif [ "$install_type" = "public" ] then # In public mode, if curl fell on the ynh portal, it's a fail. 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 fi fi