projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: user space context: remove unneeded test import
[lttng-tools.git]
/
tests
/
regression
/
ust
/
low-throughput
/
test_low_throughput
diff --git
a/tests/regression/ust/low-throughput/test_low_throughput
b/tests/regression/ust/low-throughput/test_low_throughput
index 66ed8950fd73648a294ad68842d8b9e839b662ec..2861324f2d303b2d1c19aee2a60f28398d09988b 100755
(executable)
--- a/
tests/regression/ust/low-throughput/test_low_throughput
+++ b/
tests/regression/ust/low-throughput/test_low_throughput
@@
-19,7
+19,7
@@
if [ ! -x "$CURDIR/$BIN_NAME" ]; then
BAIL_OUT "No UST nevents binary detected."
fi
BAIL_OUT "No UST nevents binary detected."
fi
-TRACE_PATH=$(mktemp -
-tmpdir -d
tmp.test_low_throughput_ust_trace_path.XXXXXX)
+TRACE_PATH=$(mktemp -
d -t
tmp.test_low_throughput_ust_trace_path.XXXXXX)
# MUST set TESTDIR before calling those functions
# MUST set TESTDIR before calling those functions
@@
-27,6
+27,8
@@
plan_tests $NUM_TESTS
print_test_banner "$TEST_DESC"
print_test_banner "$TEST_DESC"
+bail_out_if_no_babeltrace
+
start_lttng_sessiond
create_lttng_session_ok $SESSION_NAME $TRACE_PATH
start_lttng_sessiond
create_lttng_session_ok $SESSION_NAME $TRACE_PATH
@@
-47,7
+49,7
@@
stop_lttng_sessiond
last_val=0
out=0
last_val=0
out=0
-
babeltrace
$TRACE_PATH | while read event;
+
"$BABELTRACE_BIN"
$TRACE_PATH | while read event;
do
val=$(echo $event | cut -f10 -d" ")
val=${val%?}
do
val=$(echo $event | cut -f10 -d" ")
val=${val%?}
This page took
0.024225 seconds
and
4
git commands to generate.