From: Jérémie Galarneau Date: Tue, 29 May 2018 18:10:03 +0000 (-0400) Subject: Test: change use of space for tabs in utils.sh X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=08f96a383c38cc1f107f6a3c23137e025936a929;p=lttng-tools.git Test: change use of space for tabs in utils.sh Signed-off-by: Jérémie Galarneau --- diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index c16fa7ca4..2d53a7237 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -1436,12 +1436,12 @@ function trace_match_only() local count=$($BABELTRACE_BIN $trace_path | grep $event_name | wc -l) local total=$($BABELTRACE_BIN $trace_path | wc -l) - if [ "$nr_iter" -eq "$count" ] && [ "$total" -eq "$nr_iter" ]; then - pass "Trace match with $total event $event_name" - else - fail "Trace match" - diag "$total event(s) found, expecting $nr_iter of event $event_name and only found $count" - fi + if [ "$nr_iter" -eq "$count" ] && [ "$total" -eq "$nr_iter" ]; then + pass "Trace match with $total event $event_name" + else + fail "Trace match" + diag "$total event(s) found, expecting $nr_iter of event $event_name and only found $count" + fi } function validate_trace