Try harder to find a usable lttv in the tests scripts v2
[ust.git] / tests / tracepoint / run
CommitLineData
cd5de8df
DG
1#!/bin/bash
2
3TESTDIR=$(dirname $0)/..
4
5source $TESTDIR/test_functions.sh
6source $TESTDIR/tap.sh
7
8starttest "Testing Tracepoints"
9plan_tests 6
10
11okx usttrace $TESTDIR/tracepoint/tracepoint_test
12trace_loc=$(usttrace -W)
13trace_matches -N "probe1" -n "5" "probe = 13" $trace_loc
14trace_matches -N "probe2" -n "5" "probe = 42" $trace_loc
15trace_matches -N "probe3" -n "1" "probe = \"probe3\"" $trace_loc
16trace_matches -N "probe4" -n "100" "probe4 = 42" $trace_loc
17check_trace_logs "$trace_loc"
This page took 0.024053 seconds and 4 git commands to generate.