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

Jérémie Galarneau jeremie.galarneau at efficios.com
Fri Sep 16 20:56:33 UTC 2016


Merged, thanks!

Jérémie

On Thu, Sep 15, 2016 at 6:47 PM, Michael Jeanson <mjeanson at efficios.com> wrote:
> 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
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list