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 modprobe to test for the presence of lttng-modules
[lttng-tools.git]
/
tests
/
regression
/
tools
/
snapshots
/
test_kernel_streaming
diff --git
a/tests/regression/tools/snapshots/test_kernel_streaming
b/tests/regression/tools/snapshots/test_kernel_streaming
index 7b96ef27072157d1010e278c8a09e7224d551985..1d97519aafa8b37243340687e8b98880bc152c82 100755
(executable)
--- a/
tests/regression/tools/snapshots/test_kernel_streaming
+++ b/
tests/regression/tools/snapshots/test_kernel_streaming
@@
-29,12
+29,6
@@
NUM_TESTS=61
source $TESTDIR/utils/utils.sh
source $TESTDIR/utils/utils.sh
-# LTTng kernel modules check
-out=`ls /lib/modules/$(uname -r)/extra | grep lttng`
-if [ -z "$out" ]; then
- BAIL_OUT "LTTng modules not detected."
-fi
-
function snapshot_add_output ()
{
local sess_name=$1
function snapshot_add_output ()
{
local sess_name=$1
@@
-169,6
+163,8
@@
fi
skip $isroot "Root access is needed. Skipping all kernel streaming tests." $NUM_TESTS ||
{
skip $isroot "Root access is needed. Skipping all kernel streaming tests." $NUM_TESTS ||
{
+ validate_lttng_modules_present
+
start_lttng_relayd "-o $TRACE_PATH"
start_lttng_sessiond
start_lttng_relayd "-o $TRACE_PATH"
start_lttng_sessiond
This page took
0.024426 seconds
and
4
git commands to generate.