From 1915e28a0ff0a8c6d9e540bb4d5944aad6202061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Ignacio=20S=C3=A1nchez=20Lara?= Date: Tue, 11 Aug 2015 14:20:38 +0200 Subject: [PATCH] Cleaner debug output --- test/organization/test.sh | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/test/organization/test.sh b/test/organization/test.sh index 64b9b10..8407b21 100644 --- a/test/organization/test.sh +++ b/test/organization/test.sh @@ -48,12 +48,12 @@ function sql() { ERROR_OUTPUT=`cat "${ERROR_OUTPUT_FILE}"` rm ${ERROR_OUTPUT_FILE} - echo -n "- Code Result: " - echo ${CODERESULT} - echo -n "- Result: " - echo ${RESULT} - echo -n "- Error output: " - echo ${ERROR_OUTPUT} + echo -n "> Code Result: " + echo -n ${CODERESULT} + echo -n "; Result: " + echo -n ${RESULT} + echo -n "; Error output: " + echo -n ${ERROR_OUTPUT} # Some warnings should actually be failures if [[ ${CODERESULT} == "0" ]] @@ -67,13 +67,12 @@ function sql() { echo -n "FAILED BECAUSE OF PRIVILEGES REVOKING WARNING" CODERESULT=1 ;; - *) echo "All ok" ;; + *) ;; esac fi - echo "- New code result: " + echo -n "; New code result: " echo ${CODERESULT} - echo "-------------" if [[ ${CODERESULT} -ne 0 ]] then