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

Michael Jeanson mjeanson at efficios.com
Mon Mar 26 11:47:44 EDT 2018


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