stderr_actual_file=$(mktemp -t actual-stderr.XXXXXX)
bt_cli "$stdout_actual_file" "$stderr_actual_file" \
- convert --plugin-path "${plugin_dir}" "ABCDE" "${trace_dir}" some_other_non_opt \
+ --plugin-path "${plugin_dir}" convert "ABCDE" "${trace_dir}" some_other_non_opt \
-c sink.text.details --params='with-metadata=false'
ok "$?" "CLI runs successfully"
ok "$?" "expected components are instantiated with expected inputs"
# Check that expected warning is printed.
+# shellcheck disable=SC2016
grep -q 'No trace was found based on input `some_other_non_opt`' "$stderr_actual_file"
ok "$?" "warning is printed"