lttng {add,list}-triggers: use `name` instead of `id`
[lttng-tools.git] / tests / regression / tools / trigger / test_add_trigger_cli
index fd962c04bae76421336e8bc43bee441fbb1111b6..a8d03c4dd66d9f3aabacc1f78f7bba9e3861b4e2 100755 (executable)
@@ -77,8 +77,8 @@ function test_failure ()
 }
 
 # top-level options
-test_success "explicit id" \
-       --id hohoho \
+test_success "explicit name" \
+       --name hohoho \
        --condition on-event some-event-id -u \
        --action notify
 
@@ -262,9 +262,9 @@ test_failure "two --condition" \
        --condition on-event bbb -u \
        --action notify
 
-test_failure "missing argument to --id" \
-       "Error: While parsing argument #1 (\`--id\`): Missing required argument for option \`--id\`" \
-       --id
+test_failure "missing argument to --name" \
+       "Error: While parsing argument #1 (\`--name\`): Missing required argument for option \`--name\`" \
+       --name
 
 for cmd in rate-policy=once-after rate-policy=every; do
        test_failure "missing argument to --${cmd}" \
This page took 0.023391 seconds and 4 git commands to generate.