tests: gen-ust-events: use options instead of arguments
[lttng-tools.git] / tests / regression / tools / notification / test_notification_ust
index 8941e476d50b9e5730fc90633da412acc703ca28..9461896415213d01837b3a34d7365becc362e4b2 100755 (executable)
@@ -56,7 +56,7 @@ function ust_event_generator
        state_file=$1
        ust_event_generator_suspended=0
        trap ust_event_generator_toogle_state SIGUSR1
-       trap "exit" SIGTERM SIGINT
+
        while (true); do
                if [[ $ust_event_generator_suspended -eq "1" ]]; then
                        touch $state_file
@@ -65,7 +65,7 @@ function ust_event_generator
                        if [[ -f $state_file ]]; then
                                rm -rf $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
 }
This page took 0.02384 seconds and 4 git commands to generate.