From d4284163dc639741dfa6bb7ddbb3f04a85744e87 Mon Sep 17 00:00:00 2001 From: Zachary Snow Date: Tue, 16 Apr 2019 16:35:47 -0400 Subject: [PATCH] explicitly use bash to avoid dash compatability issues when running tests --- test/basic/run.sh | 2 +- test/lex/run.sh | 2 +- test/lib/runner.sh | 2 +- test/relong/run.sh | 2 +- test/run-all.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/basic/run.sh b/test/basic/run.sh index 8f8457f..c9d5ade 100755 --- a/test/basic/run.sh +++ b/test/basic/run.sh @@ -1,2 +1,2 @@ -#!/bin/sh +#!/bin/bash source ../lib/runner.sh diff --git a/test/lex/run.sh b/test/lex/run.sh index 0dc63aa..42da475 100755 --- a/test/lex/run.sh +++ b/test/lex/run.sh @@ -1,3 +1,3 @@ -#!/bin/sh +#!/bin/bash NO_SEPARATE_TBS=1 source ../lib/runner.sh diff --git a/test/lib/runner.sh b/test/lib/runner.sh index 5c2f16b..a204757 100644 --- a/test/lib/runner.sh +++ b/test/lib/runner.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash SCRIPT_DIR=`dirname "${BASH_SOURCE[0]}"` SV2V="$SCRIPT_DIR/../../bin/sv2v" diff --git a/test/relong/run.sh b/test/relong/run.sh index 8f8457f..c9d5ade 100755 --- a/test/relong/run.sh +++ b/test/relong/run.sh @@ -1,2 +1,2 @@ -#!/bin/sh +#!/bin/bash source ../lib/runner.sh diff --git a/test/run-all.sh b/test/run-all.sh index cf9a227..8db7cfc 100755 --- a/test/run-all.sh +++ b/test/run-all.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cd `dirname "${BASH_SOURCE[0]}"`