X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fsame_line_marker%2Fsame_line_marker.sh;fp=tests%2Fsame_line_marker%2Fsame_line_marker.sh;h=e391ec3e497485d8757bd2c7b9da8c4b084e2567;hb=dd7a064c5953d06fbd6010f0a0f4a6f94df01a9f;hp=0000000000000000000000000000000000000000;hpb=72d022d60207b479177401cfdeddeb685d5aa85f;p=ust.git diff --git a/tests/same_line_marker/same_line_marker.sh b/tests/same_line_marker/same_line_marker.sh new file mode 100755 index 0000000..e391ec3 --- /dev/null +++ b/tests/same_line_marker/same_line_marker.sh @@ -0,0 +1,31 @@ +#!/bin/bash +# +# Copyright 2010 Ericsson AB +# +# This file is part of LTTng-UST. +# +# LTTng-UST is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# LTTng-UST is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LTTng-UST. If not, see . + +TESTDIR=$(dirname $0)/.. + +source $TESTDIR/test_functions.sh +source $TESTDIR/tap.sh + +starttest "same_line_marker" + +plan_tests 2 + +okx usttrace $TESTDIR/same_line_marker/same_line_marker +trace_loc=$(usttrace -W) +trace_matches -N "same_line_event" -n 2 "^ust.same_line_event:" $trace_loc