[lttng-dev] [PATCH babeltrace] Fix: Use autoconf provided grep in test_formats

Michael Jeanson mjeanson at efficios.com
Thu Sep 15 22:47:56 UTC 2016


Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
 tests/bin/test_formats.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/bin/test_formats.in b/tests/bin/test_formats.in
index 81b924a..0d91898 100644
--- a/tests/bin/test_formats.in
+++ b/tests/bin/test_formats.in
@@ -27,6 +27,6 @@ expected_formats=(text lttng-live dummy ctf-metadata ctf)
 plan_tests ${#expected_formats[*]}
 
 for format in "${expected_formats[@]}"; do
-    "$BABELTRACE_BIN" --list | grep -qw "$format"
+    "$BABELTRACE_BIN" --list | @GREP@ -qw "$format"
     ok $? "Detect support for format \"$format\""
 done
-- 
2.7.4



More information about the lttng-dev mailing list