From: Francis Deslauriers Date: Thu, 6 Feb 2020 15:26:05 +0000 (-0500) Subject: Typo: 'toogle' -> 'toggle' X-Git-Tag: v2.13.0-rc1~770 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cb7237295335b181ac1959001e9e71aab7a19fdc;p=lttng-tools.git Typo: 'toogle' -> 'toggle' Signed-off-by: Francis Deslauriers Change-Id: Id3c9a1942b21a66b626512e8378c517d48949582 Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/tools/notification/test_notification_kernel b/tests/regression/tools/notification/test_notification_kernel index 36ecac336..990e8bc8d 100755 --- a/tests/regression/tools/notification/test_notification_kernel +++ b/tests/regression/tools/notification/test_notification_kernel @@ -35,7 +35,7 @@ NUM_TESTS=104 source $TESTDIR/utils/utils.sh -function kernel_event_generator_toogle_state +function kernel_event_generator_toggle_state { kernel_event_generator_suspended=$((kernel_event_generator_suspended==0)) @@ -44,7 +44,7 @@ function kernel_event_generator { state_file=$1 kernel_event_generator_suspended=0 - trap kernel_event_generator_toogle_state SIGUSR1 + trap kernel_event_generator_toggle_state SIGUSR1 while (true); do if [[ $kernel_event_generator_suspended -eq "1" ]]; then diff --git a/tests/regression/tools/notification/test_notification_multi_app b/tests/regression/tools/notification/test_notification_multi_app index 118b781cf..cfecd26c3 100755 --- a/tests/regression/tools/notification/test_notification_multi_app +++ b/tests/regression/tools/notification/test_notification_multi_app @@ -43,7 +43,7 @@ print_test_banner "$TEST_DESC" app_pids=() -function kernel_event_generator_toogle_state +function kernel_event_generator_toggle_state { kernel_event_generator_suspended=$((kernel_event_generator_suspended==0)) @@ -52,7 +52,7 @@ function kernel_event_generator { state_file=$1 kernel_event_generator_suspended=0 - trap kernel_event_generator_toogle_state SIGUSR1 + trap kernel_event_generator_toggle_state SIGUSR1 while (true); do if [[ $kernel_event_generator_suspended -eq "1" ]]; then @@ -67,7 +67,7 @@ function kernel_event_generator done } -function ust_event_generator_toogle_state +function ust_event_generator_toggle_state { ust_event_generator_suspended=$((ust_event_generator_suspended==0)) @@ -76,7 +76,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 trap "exit" SIGTERM SIGINT while (true); do if [[ $ust_event_generator_suspended -eq "1" ]]; then 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