projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: add kernel test into the `make check` test suite.
[lttng-tools.git]
/
tests
/
regression
/
kernel
/
test_rotation_destroy_flush
diff --git
a/tests/regression/kernel/test_rotation_destroy_flush
b/tests/regression/kernel/test_rotation_destroy_flush
index 538d09b01157ee5a236723fe377c9718cb81f7ae..cb773d7df59973c4a31ca69e6332cda9601f46f1 100755
(executable)
--- a/
tests/regression/kernel/test_rotation_destroy_flush
+++ b/
tests/regression/kernel/test_rotation_destroy_flush
@@
-29,7
+29,7
@@
source $TESTDIR/utils/utils.sh
function signal_cleanup()
{
diag "*** Exiting ***"
function signal_cleanup()
{
diag "*** Exiting ***"
- modprobe -
r
lttng-test
+ modprobe -
-remove
lttng-test
full_cleanup
}
full_cleanup
}
@@
-96,7
+96,7
@@
function test_rotation_destroy_flush_single()
rm -rf $TRACE_PATH
rm -rf $TRACE_PATH
- modprobe -
r
lttng-test
+ modprobe -
-remove
lttng-test
stop_lttng_sessiond
}
stop_lttng_sessiond
}
@@
-128,11
+128,12
@@
fi
skip $isroot "Root access is needed. Skipping all tests." $NUM_TESTS ||
{
skip $isroot "Root access is needed. Skipping all tests." $NUM_TESTS ||
{
+ validate_lttng_modules_present
trap signal_cleanup SIGTERM SIGINT
while [ "$i" -lt "$TEST_COUNT" ]; do
trap signal_cleanup SIGTERM SIGINT
while [ "$i" -lt "$TEST_COUNT" ]; do
- TRACE_PATH=$(mktemp -
d
)
+ TRACE_PATH=$(mktemp -
-tmpdir -d -t tmp.test_kernel_rotation_destroy_flush.XXXXXX
)
# Execute test
${TESTS[$i]}
# Execute test
${TESTS[$i]}
This page took
0.024369 seconds
and
4
git commands to generate.