SoW-2020-0002: Trace Hit Counters: trigger error reporting integration
[lttng-tools.git] / tests / regression / tools / snapshots / ust_test
index 3f7ee2555d87a4ceb2640f7bc2ac5bab51a4bd45..37475d7fdd49c387242e5646fa62d0294a60c69d 100755 (executable)
@@ -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
@@ -358,7 +358,7 @@ function test_ust_local_snapshot_large_metadata ()
        enable_ust_lttng_event_ok $SESSION_NAME $LM_EVENT $CHANNEL_NAME
        start_lttng_tracing_ok $SESSION_NAME
        lttng_snapshot_add_output_ok $SESSION_NAME file://$TRACE_PATH
-       $LM_BIN 1 1
+       $LM_BIN --iter 1 --wait 1
        ok $? "Start application to trace"
        lttng_snapshot_record $SESSION_NAME
        stop_lttng_tracing_ok $SESSION_NAME
This page took 0.024568 seconds and 5 git commands to generate.