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