projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: check for lttng modules presence before testing
[lttng-tools.git]
/
tests
/
regression
/
tools
/
notification
/
test_notification_multi_app
diff --git
a/tests/regression/tools/notification/test_notification_multi_app
b/tests/regression/tools/notification/test_notification_multi_app
index eca9688cfea3653f355d241f3bdaea645729b8be..600b0f69c256f64ce43a2214f4cd8eade3862b32 100755
(executable)
--- a/
tests/regression/tools/notification/test_notification_multi_app
+++ b/
tests/regression/tools/notification/test_notification_multi_app
@@
-64,7
+64,7
@@
function kernel_event_generator
state_file=$1
kernel_event_generator_suspended=0
trap kernel_event_generator_toogle_state SIGUSR1
state_file=$1
kernel_event_generator_suspended=0
trap kernel_event_generator_toogle_state SIGUSR1
- trap "exit" SIGTERM SIGINT
+
while (true); do
if [[ $kernel_event_generator_suspended -eq "1" ]]; then
touch $state_file
while (true); do
if [[ $kernel_event_generator_suspended -eq "1" ]]; then
touch $state_file
@@
-265,7
+265,7
@@
function test_multi_app ()
resume_consumerd "${pipe}"
done
# Stop tracing forcing full buffer consumption
resume_consumerd "${pipe}"
done
# Stop tracing forcing full buffer consumption
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
# Check for notifications reception
wait_for_message $output_dir "${low_output_file_pattern}" "notification: low $i"
# Check for notifications reception
wait_for_message $output_dir "${low_output_file_pattern}" "notification: low $i"
@@
-474,6
+474,7
@@
TESTS=(
)
if [ "$(id -u)" == "0" ]; then
)
if [ "$(id -u)" == "0" ]; then
+ validate_lttng_modules_present
TESTS+=(
test_multi_app_kernel
test_on_register_evaluation_kernel
TESTS+=(
test_multi_app_kernel
test_on_register_evaluation_kernel
This page took
0.046748 seconds
and
4
git commands to generate.