X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Ftest_notification_multi_app;h=752f4d6de73e1fba346c5c02b139adf02f4e287e;hp=7465a83f813fa7bdc8d34cb6bfaab745d44d897a;hb=6c4a91d639747f260ab46decebc50998ef063712;hpb=7fe98a985f6fddf7eba195c138fad23339676979 diff --git a/tests/regression/tools/notification/test_notification_multi_app b/tests/regression/tools/notification/test_notification_multi_app index 7465a83f8..752f4d6de 100755 --- 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 - trap "exit" SIGTERM SIGINT + while (true); do if [[ $kernel_event_generator_suspended -eq "1" ]]; then touch $state_file @@ -97,7 +97,7 @@ function ust_event_generator if [[ -f $state_file ]]; then rm $state_file 2> /dev/null fi - taskset -c 0 $TESTAPP_BIN $NR_ITER $NR_USEC_WAIT > /dev/null 2>&1 + taskset -c 0 $TESTAPP_BIN -i $NR_ITER -w $NR_USEC_WAIT > /dev/null 2>&1 fi done } @@ -474,6 +474,7 @@ TESTS=( ) if [ "$(id -u)" == "0" ]; then + validate_lttng_modules_present TESTS+=( test_multi_app_kernel test_on_register_evaluation_kernel