X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Ftest_notification_ust;h=d0198f05a5058bc66ab1c17ecc889e67b6cfaa92;hb=1e14294fd0ac6ea1b22a27b7b7c10abec2e2d929;hp=82f79a8e6ad56c030a49fdce365596272fab683e;hpb=6aec8e11daa4ddac37fa4faca2cea88ce500089e;p=lttng-tools.git diff --git a/tests/regression/tools/notification/test_notification_ust b/tests/regression/tools/notification/test_notification_ust index 82f79a8e6..d0198f05a 100755 --- a/tests/regression/tools/notification/test_notification_ust +++ b/tests/regression/tools/notification/test_notification_ust @@ -46,7 +46,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)) @@ -55,7 +55,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