From ce83431da09a14449027ef7b2ef9d3f7f82ea674 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 10 Sep 2020 12:29:50 -0400 Subject: [PATCH] Tests: clean-up: remove trailing dot in snapshot test statements MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau Change-Id: I95208d67b18ba806f009b9a6b53d5e2cc38b6c74 --- tests/regression/tools/snapshots/test_kernel | 10 +++++----- .../regression/tools/snapshots/test_kernel_streaming | 2 +- tests/regression/tools/snapshots/ust_test | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/regression/tools/snapshots/test_kernel b/tests/regression/tools/snapshots/test_kernel index 15b7ec176..24b0ad4a2 100755 --- a/tests/regression/tools/snapshots/test_kernel +++ b/tests/regression/tools/snapshots/test_kernel @@ -138,9 +138,9 @@ function test_kernel_local_snapshot_discard () rm -rf $TRACE_PATH if [ x"$FIRST_LINE" != x"$FIRST_LINE_2" ]; then - fail "First snapshot event do not match." + fail "First snapshot event do not match" else - pass "First snapshot event match." + pass "First snapshot event match" fi stop_lttng_tracing_ok $SESSION_NAME @@ -176,9 +176,9 @@ function test_kernel_local_snapshot_overwrite_small_buffers () rm -rf $TRACE_PATH if [ x"$FIRST_LINE" != x"$FIRST_LINE_2" ]; then - pass "First snapshot event do not match." + pass "First snapshot event do not match" else - fail "First snapshot event match." + fail "First snapshot event match" fi stop_lttng_tracing_ok $SESSION_NAME @@ -222,7 +222,7 @@ else isroot=0 fi -skip $isroot "Root access is needed. Skipping all kernel snapshot tests." $NUM_TESTS || +skip $isroot "Root access is needed. Skipping all kernel snapshot tests" $NUM_TESTS || { validate_lttng_modules_present diff --git a/tests/regression/tools/snapshots/test_kernel_streaming b/tests/regression/tools/snapshots/test_kernel_streaming index 0a9fcd5c3..544c2e4db 100755 --- a/tests/regression/tools/snapshots/test_kernel_streaming +++ b/tests/regression/tools/snapshots/test_kernel_streaming @@ -150,7 +150,7 @@ else isroot=0 fi -skip $isroot "Root access is needed. Skipping all kernel streaming tests." $NUM_TESTS || +skip $isroot "Root access is needed. Skipping all kernel streaming tests" $NUM_TESTS || { validate_lttng_modules_present diff --git a/tests/regression/tools/snapshots/ust_test b/tests/regression/tools/snapshots/ust_test index c2563afd8..37475d7fd 100755 --- a/tests/regression/tools/snapshots/ust_test +++ b/tests/regression/tools/snapshots/ust_test @@ -23,12 +23,12 @@ TRACE_PATH=$(mktemp -d) source $TESTDIR/utils/utils.sh if [ ! -x "$TESTAPP_BIN" ]; then - BAIL_OUT "No UST events binary detected." + BAIL_OUT "No UST events binary detected" fi # Need the number of snapshot to do. if [ -z $1 ]; then - BAIL_OUT "A number of snapshot is needed." + BAIL_OUT "A number of snapshot is needed" fi NR_SNAPSHOT=$1 @@ -237,9 +237,9 @@ function test_ust_local_snapshot_small_discard_buffers () rm -rf $TRACE_PATH/ if [ x"$FIRST_LINE" != x"$FIRST_LINE_2" ]; then - fail "First snapshot event do not match." + fail "First snapshot event do not match" else - pass "First snapshot event match." + pass "First snapshot event match" fi stop_lttng_tracing_ok $SESSION_NAME @@ -282,9 +282,9 @@ function test_ust_local_snapshot_small_overwrite_buffers () rm -rf $TRACE_PATH/ if [ x"$FIRST_LINE" != x"$FIRST_LINE_2" ]; then - pass "First snapshot event do not match." + pass "First snapshot event do not match" else - fail "First snapshot event match." + fail "First snapshot event match" fi stop_lttng_tracing_ok $SESSION_NAME -- 2.34.1