projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: use babeltrace2 for all tests
[lttng-tools.git]
/
tests
/
regression
/
tools
/
rotation
/
test_kernel
diff --git
a/tests/regression/tools/rotation/test_kernel
b/tests/regression/tools/rotation/test_kernel
index f4019b46176d17bb476b0d9f0fd43aebefbca31f..d4a66c50855fec9f3c1434d6dc7f6a4578cb096e 100755
(executable)
--- a/
tests/regression/tools/rotation/test_kernel
+++ b/
tests/regression/tools/rotation/test_kernel
@@
-10,7
+10,7
@@
CURDIR=$(dirname $0)/
TESTDIR=$CURDIR/../../..
EVENT_NAME="lttng_test_filter_event"
TESTDIR=$CURDIR/../../..
EVENT_NAME="lttng_test_filter_event"
-TRACE_PATH=$(mktemp -
d
)
+TRACE_PATH=$(mktemp -
-tmpdir -d -t tmp.rotation_kernel_tracing.XXXXXX
)
NUM_TESTS=60
NUM_TESTS=60
@@
-81,6
+81,7
@@
function test_kernel_streaming_timer ()
plan_tests $NUM_TESTS
print_test_banner "$TEST_DESC"
plan_tests $NUM_TESTS
print_test_banner "$TEST_DESC"
+bail_out_if_no_babeltrace
if [ "$(id -u)" == "0" ]; then
isroot=1
if [ "$(id -u)" == "0" ]; then
isroot=1
@@
-105,7
+106,7
@@
skip $isroot "Root access is needed. Skipping all kernel streaming tests." $NUM_
clean_path $TRACE_PATH
done
clean_path $TRACE_PATH
done
-
rmmod
lttng-test
+
modprobe --remove
lttng-test
stop_lttng_sessiond
stop_lttng_relayd
}
stop_lttng_sessiond
stop_lttng_relayd
}
This page took
0.023519 seconds
and
4
git commands to generate.