add-trigger: rename --fire-* to --rate-policy=*:value
[lttng-tools.git] / tests / regression / tools / trigger / rate-policy / test_ust_rate_policy
index 27d813048769e95c60be6d5f90ac235f7f3d94a1..63993aa5150e0f007f04ebe6dec48646ef773839 100755 (executable)
@@ -38,7 +38,7 @@ function test_rate_policy_every_n()
                $TRIGGER_NAME \
                --condition on-event -u "tp:tptest" \
                --action notify \
-               --fire-every 5
+               --rate-policy=every:5
 
        # Add a trigger with a notify action for the tp:end event of the test
        # application. This allow us to "delimit" the reception loop for the
@@ -124,7 +124,7 @@ function test_rate_policy_once_after_n()
                $TRIGGER_NAME \
                --condition on-event -u "tp:tptest" \
                --action notify \
-               --fire-once-after 5
+               --rate-policy=once-after:5
 
        # Add a trigger with a notify action for the tp:end event of the test
        # application. This allow us to "delimit" the reception loop for the
This page took 0.032178 seconds and 4 git commands to generate.