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 16ef2734788be7457ea4613d8a921c19aedfbb5d..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 -d)
+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.023965 seconds
and
4
git commands to generate.