tests: add and use bt_grep
[babeltrace.git] / tests / cli / list-plugins / test-list-plugins.sh
index a0720ace2a439926bf6e2c51ed797d849b7a2f5c..c6e7166cdbad7fd443acca2ed2ecc2b31a2723ce 100755 (executable)
@@ -31,7 +31,7 @@ bt_cli "$stdout_file" "$stderr_file" \
 ok "$?" "exit code is 0"
 
 # Extract the section about our custom this-is-a-plugin Python plugin.
-grep --after-context=11 '^this-is-a-plugin:$' "${stdout_file}" > "${grep_stdout_file}"
+bt_grep --after-context=11 '^this-is-a-plugin:$' "${stdout_file}" > "${grep_stdout_file}"
 ok "$?" "entry for this-is-a-plugin is present"
 
 if [ "$BT_TESTS_OS_TYPE" = "mingw" ]; then
This page took 0.023299 seconds and 4 git commands to generate.