Skip to contentSkip to conversation

Fix: Use autoconf provided grep in test_formats

PATCH Jérémie Galarneau 1 participant 1 message Sep 16, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Jérémie Galarneau

author Applied
#1 lore raw

Merged, thanks!

Jérémie

Quoted 20 lines · Michael Jeanson
---
 tests/bin/test_formats.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/bin/test_formats.in +1 -2
index 81b924a..0d91898 100644
@@ -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

Signature · 7 lines
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev