Fix: Expand the shmobj size for the sequence number
[lttng-ust.git] / tests / tracepoint / run
1 #!/bin/bash
2
3 TESTDIR=$(dirname $0)/..
4
5 if [ ! -x "$TESTDIR/tracepoint/tracepoint_test" ]; then
6 echo "tracepoint_test executable is not present"
7 exit 1
8 fi
9
10 source $TESTDIR/test_functions.sh
11 source $TESTDIR/tap.sh
12
13 starttest "Testing Tracepoints"
14 plan_tests 6
15 USTTRACE="$TESTDIR/../usttrace"
16
17 okx $USTTRACE -L $TESTDIR/tracepoint/tracepoint_test
18 trace_loc=$($USTTRACE -W)
19 trace_matches -N "probe1" -n "5" "probe = 13" $trace_loc
20 trace_matches -N "probe2" -n "5" "probe = 42" $trace_loc
21 trace_matches -N "probe3" -n "1" "probe = \"probe3\"" $trace_loc
22 trace_matches -N "probe4" -n "100" "probe4 = 42" $trace_loc
23 check_trace_logs "$trace_loc"
This page took 0.0358 seconds and 4 git commands to generate.