Change "event rule hit" to "event-rule matches" in user interface strings
[lttng-tools.git] / tests / regression / tools / trigger / test_remove_trigger_cli
index 5ec36bccf0519a1670c1f68dc134c1b3bf789d84..126355a09107952b4d39cc81df5f1c96c63494ff 100755 (executable)
@@ -68,21 +68,21 @@ function remove_trigger ()
 start_lttng_sessiond_notap
 
 # Add a few triggers
-lttng_add_trigger_ok "ABC" --condition on-event aaa -u --filter 'p == 2' --action notify
-lttng_add_trigger_ok "DEF" --condition on-event -u -a --action notify
+lttng_add_trigger_ok "ABC" --condition event-rule-matches --name=aaa --domain=user --filter 'p == 2' --action notify
+lttng_add_trigger_ok "DEF" --condition event-rule-matches --domain=user --action notify
 
 cat > "${tmp_expected_stdout}" <<- EOF
 - name: ABC
-  user id: ${uid}
-  condition: event rule hit
+  owner uid: ${uid}
+  condition: event rule matches
     rule: aaa (type: tracepoint, domain: ust, filter: p == 2)
   actions:
     notify
       errors: none
   errors: none
 - name: DEF
-  user id: ${uid}
-  condition: event rule hit
+  owner uid: ${uid}
+  condition: event rule matches
     rule: * (type: tracepoint, domain: ust)
   actions:
     notify
@@ -95,8 +95,8 @@ remove_trigger "ABC"
 
 cat > "${tmp_expected_stdout}" <<- EOF
 - name: DEF
-  user id: ${uid}
-  condition: event rule hit
+  owner uid: ${uid}
+  condition: event rule matches
     rule: * (type: tracepoint, domain: ust)
   actions:
     notify
This page took 0.023736 seconds and 4 git commands to generate.