From: James Nunez Date: Thu, 6 Jun 2019 13:48:13 +0000 (-0600) Subject: LU-11673 tests: add space before ']' in test-framework X-Git-Tag: 2.12.4-RC1~57 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=93efabdb0db798037f377206f50502e6510b4604;p=fs%2Flustre-release.git LU-11673 tests: add space before ']' in test-framework The test command '[' expects spaces before all arguments including the closing ']'. Add a space before the closing ']' in the function print_summary() in test-framework.sh. Lustre-change: https://review.whamcloud.com/35079 Lustre-commit: 54e011a729fd656ae8568192763afe12425cd05e Signed-off-by: James Nunez Change-Id: If2365cb5f2b9c003949c6224997644c61341fe35 Reviewed-by: Andreas Dilger Reviewed-by: Wei Liu Reviewed-on: https://review.whamcloud.com/36926 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 8384ebc..587287a 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -95,13 +95,14 @@ usage() { } print_summary () { - trap 0 - [ -z "$DEFAULT_SUITES"] && return 0 - [ -n "$ONLY" ] && echo "WARNING: ONLY is set to $(echo $ONLY)" - local details - local form="%-13s %-17s %-9s %s %s\n" - printf "$form" "status" "script" "Total(sec)" "E(xcluded) S(low)" - echo "------------------------------------------------------------------------------------" + trap 0 + [ -z "$DEFAULT_SUITES" ] && return 0 + [ -n "$ONLY" ] && echo "WARNING: ONLY is set to $(echo $ONLY)" + local details + local form="%-13s %-17s %-9s %s %s\n" + + printf "$form" "status" "script" "Total(sec)" "E(xcluded) S(low)" + echo "---------------------------------------------------------------" for O in $DEFAULT_SUITES; do O=$(echo $O | tr "-" "_" | tr "[:lower:]" "[:upper:]") [ "${!O}" = "no" ] && continue || true