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
/
periodical-metadata-flush
/
test_periodical_metadata_flush
diff --git
a/tests/regression/ust/periodical-metadata-flush/test_periodical_metadata_flush
b/tests/regression/ust/periodical-metadata-flush/test_periodical_metadata_flush
index 848fc2f3ee319fa887325ba8181b19969a999733..56c23ff408a98b4704a0a4ff1743a66983673ad5 100755
(executable)
--- a/
tests/regression/ust/periodical-metadata-flush/test_periodical_metadata_flush
+++ b/
tests/regression/ust/periodical-metadata-flush/test_periodical_metadata_flush
@@
-17,7
+17,7
@@
SESSION_NAME="periodical-flush"
EVENT_NAME="tp:tptest"
BIN_NAME="gen-nevents"
NUM_TESTS=38
EVENT_NAME="tp:tptest"
BIN_NAME="gen-nevents"
NUM_TESTS=38
-APP_TMP_FILE=$(mktemp -u)
+APP_TMP_FILE=$(mktemp -u
-t tmp.test_periodical_metadata_flush_ust_app_tmp_file.XXXXXX
)
APPS_PID=
source $TESTDIR/utils/utils.sh
APPS_PID=
source $TESTDIR/utils/utils.sh
@@
-68,7
+68,7
@@
function validate_trace()
{
local out
{
local out
- out=$(
babeltrace
$TRACE_PATH | grep $EVENT_NAME | wc -l)
+ out=$(
"$BABELTRACE_BIN"
$TRACE_PATH | grep $EVENT_NAME | wc -l)
if [ $out -eq 0 ]; then
fail "Trace validation"
diag "No event(s) found. We are supposed to have at least one."
if [ $out -eq 0 ]; then
fail "Trace validation"
diag "No event(s) found. We are supposed to have at least one."
@@
-298,6
+298,7
@@
test_before_app_uid() {
plan_tests $NUM_TESTS
print_test_banner "$TEST_DESC"
plan_tests $NUM_TESTS
print_test_banner "$TEST_DESC"
+bail_out_if_no_babeltrace
TESTS=(
"test_before_app_uid"
TESTS=(
"test_before_app_uid"
@@
-312,7
+313,7
@@
i=0
start_lttng_sessiond
while [ $i -lt $TEST_COUNT ]; do
start_lttng_sessiond
while [ $i -lt $TEST_COUNT ]; do
- TRACE_PATH=$(mktemp -d)
+ TRACE_PATH=$(mktemp -d
-t tmp.test_periodical_metadata_flush_ust_trace_path.XXXXXX
)
${TESTS[$i]}
rm -rf $TRACE_PATH
let "i++"
${TESTS[$i]}
rm -rf $TRACE_PATH
let "i++"
This page took
0.023866 seconds
and
4
git commands to generate.