diff mbox series

[babeltrace] Fix: Use bash for all test scripts

Message ID 1522079264-13202-1-git-send-email-mjeanson@efficios.com
State Accepted, archived
Headers show
Series [babeltrace] Fix: Use bash for all test scripts | expand

Commit Message

Michael Jeanson March 26, 2018, 3:47 p.m. UTC
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(-)

Comments

Jérémie Galarneau March 26, 2018, 6:31 p.m. UTC | #1
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
>
diff mbox series

Patch

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>
 #