lttng add-trigger: replace domain options with single --domain
[lttng-tools.git] / tests / regression / tools / trigger / rate-policy / test_ust_rate_policy
index 8a392a0f99f2fed5c160db83a69640fee28a791d..ef4626c250286e783790beaf8d8c5f27cfb8f838 100755 (executable)
@@ -36,7 +36,7 @@ function test_rate_policy_every_n()
        # time the condition is met.
        lttng_add_trigger_ok \
                $TRIGGER_NAME \
-               --condition event-rule-matches -u --name="tp:tptest" \
+               --condition event-rule-matches --domain=user --name="tp:tptest" \
                --action notify \
                --rate-policy=every:5
 
@@ -46,7 +46,7 @@ function test_rate_policy_every_n()
        # the notification subsystem. 
        lttng_add_trigger_ok \
                $END_TRIGGER_NAME \
-               --condition event-rule-matches -u --name="tp:end" \
+               --condition event-rule-matches --domain=user --name="tp:end" \
                --action notify
 
        for i in $(seq 1 4); do
@@ -122,7 +122,7 @@ function test_rate_policy_once_after_n()
        # time the condition is met.
        lttng_add_trigger_ok \
                $TRIGGER_NAME \
-               --condition event-rule-matches -u --name="tp:tptest" \
+               --condition event-rule-matches --domain=user --name="tp:tptest" \
                --action notify \
                --rate-policy=once-after:5
 
@@ -132,7 +132,7 @@ function test_rate_policy_once_after_n()
        # the notification subsystem. 
        lttng_add_trigger_ok \
                $END_TRIGGER_NAME \
-               --condition event-rule-matches -u --name="tp:end" \
+               --condition event-rule-matches --domain=user --name="tp:end" \
                --action notify
 
        ## Phase 1
This page took 0.031124 seconds and 4 git commands to generate.