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
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
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
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
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
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