tests: add and use bt_grep_ok
[babeltrace.git] / tests / cli / convert / test-auto-source-discovery-grouping.sh
index 0e2666c2431935cfb9563e062a8e409f769472df..75a49770d62d8fa031821ff97616b9dd3c33f42d 100755 (executable)
@@ -39,8 +39,10 @@ ok "$?" "expected components are instantiated with expected inputs"
 
 # Check that expected warning is printed.
 # shellcheck disable=SC2016
-bt_grep -q 'No trace was found based on input `some_other_non_opt`' "$stderr_actual_file"
-ok "$?" "warning is printed"
+bt_grep_ok \
+       'No trace was found based on input `some_other_non_opt`' \
+       "$stderr_actual_file" \
+       "warning is printed"
 
 rm -f "$stdout_actual_file"
 rm -f "$stderr_actual_file"
This page took 0.023724 seconds and 4 git commands to generate.