[lttng-dev] [PATCH babeltrace] Fix: Use bash for all test scripts

Jérémie Galarneau jeremie.galarneau at efficios.com
Mon Mar 26 14:31:50 EDT 2018


Merged in master and stable-2.0, thanks!

Jérémie

On Mon, Mar 26, 2018 at 11:47:44AM -0400, Michael Jeanson wrote:
> We already use bash in most test scripts shebang and the sh binary on
> Solaris 10 doesn't like some of our "modern" scripts syntax.
> 
> Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
> ---
>  tests/plugins/test-utils-muxer-complete.in | 2 +-
>  tests/plugins/test_bin_info_complete.in    | 2 +-
>  tests/plugins/test_dwarf_complete.in       | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/tests/plugins/test-utils-muxer-complete.in b/tests/plugins/test-utils-muxer-complete.in
> index beb6f0a..9b5999d 100644
> --- a/tests/plugins/test-utils-muxer-complete.in
> +++ b/tests/plugins/test-utils-muxer-complete.in
> @@ -1,4 +1,4 @@
> -#!/bin/sh
> +#!/bin/bash
>  #
>  # Copyright (C) 2017 Philippe Proulx <pproulx at efficios.com>
>  #
> diff --git a/tests/plugins/test_bin_info_complete.in b/tests/plugins/test_bin_info_complete.in
> index 0069dd7..434a0c3 100644
> --- a/tests/plugins/test_bin_info_complete.in
> +++ b/tests/plugins/test_bin_info_complete.in
> @@ -1,4 +1,4 @@
> -#!/bin/sh
> +#!/bin/bash
>  #
>  # Copyright (C) 2015 - Antoine Busque <abusque at efficios.com>
>  #
> diff --git a/tests/plugins/test_dwarf_complete.in b/tests/plugins/test_dwarf_complete.in
> index 0a99e7d..42bff22 100644
> --- a/tests/plugins/test_dwarf_complete.in
> +++ b/tests/plugins/test_dwarf_complete.in
> @@ -1,4 +1,4 @@
> -#!/bin/sh
> +#!/bin/bash
>  #
>  # Copyright (C) 2015 - Antoine Busque <abusque at efficios.com>
>  #
> -- 
> 2.7.4
> 


More information about the lttng-dev mailing list