X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Ftest_notification_ust;h=a873a20f5a27ea0a82351df1fe2cd68cfb6f28f8;hb=2390fe087a0695917e18b3953c0e3a13bcc83584;hp=aa573f18f2841276060b4e6bc5785c5c6c6babc6;hpb=62a101ce513dbea31f5a8fdd8ed1c23e417eb553;p=lttng-tools.git diff --git a/tests/regression/tools/notification/test_notification_ust b/tests/regression/tools/notification/test_notification_ust index aa573f18f..a873a20f5 100755 --- a/tests/regression/tools/notification/test_notification_ust +++ b/tests/regression/tools/notification/test_notification_ust @@ -35,7 +35,7 @@ DIR=$(readlink -f $TESTDIR) source $TESTDIR/utils/utils.sh -function ust_event_generator_toogle_state +function ust_event_generator_toggle_state { ust_event_generator_suspended=$((ust_event_generator_suspended==0)) @@ -44,7 +44,7 @@ function ust_event_generator { state_file=$1 ust_event_generator_suspended=0 - trap ust_event_generator_toogle_state SIGUSR1 + trap ust_event_generator_toggle_state SIGUSR1 while (true); do if [[ $ust_event_generator_suspended -eq "1" ]]; then