projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typo: 'toogle' -> 'toggle'
[lttng-tools.git]
/
tests
/
regression
/
tools
/
notification
/
test_notification_ust
diff --git
a/tests/regression/tools/notification/test_notification_ust
b/tests/regression/tools/notification/test_notification_ust
index 8941e476d50b9e5730fc90633da412acc703ca28..d0198f05a5058bc66ab1c17ecc889e67b6cfaa92 100755
(executable)
--- 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
source $TESTDIR/utils/utils.sh
-function ust_event_generator_to
o
gle_state
+function ust_event_generator_to
g
gle_state
{
ust_event_generator_suspended=$((ust_event_generator_suspended==0))
{
ust_event_generator_suspended=$((ust_event_generator_suspended==0))
@@
-55,8
+55,8
@@
function ust_event_generator
{
state_file=$1
ust_event_generator_suspended=0
{
state_file=$1
ust_event_generator_suspended=0
- trap ust_event_generator_to
o
gle_state SIGUSR1
- trap "exit" SIGTERM SIGINT
+ trap ust_event_generator_to
g
gle_state SIGUSR1
+
while (true); do
if [[ $ust_event_generator_suspended -eq "1" ]]; then
touch $state_file
while (true); do
if [[ $ust_event_generator_suspended -eq "1" ]]; then
touch $state_file
This page took
0.033641 seconds
and
4
git commands to generate.