diff --git a/tests/Fixtures/bin/post-process-as-file-error.bash b/tests/Fixtures/bin/post-process-as-file-error.bash index 139c54b31..163d7cc75 100755 --- a/tests/Fixtures/bin/post-process-as-file-error.bash +++ b/tests/Fixtures/bin/post-process-as-file-error.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source "`cd $(dirname ${BASH_SOURCE[0]}) && pwd`/post-process-as-file.bash" diff --git a/tests/Fixtures/bin/post-process-as-file.bash b/tests/Fixtures/bin/post-process-as-file.bash index 612e87b3c..7e9964bad 100755 --- a/tests/Fixtures/bin/post-process-as-file.bash +++ b/tests/Fixtures/bin/post-process-as-file.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source "`cd $(dirname ${BASH_SOURCE[0]}) && pwd`/post-process-common.bash" diff --git a/tests/Fixtures/bin/post-process-as-stdin-error.bash b/tests/Fixtures/bin/post-process-as-stdin-error.bash index 7cfd5be91..5600b9a97 100755 --- a/tests/Fixtures/bin/post-process-as-stdin-error.bash +++ b/tests/Fixtures/bin/post-process-as-stdin-error.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source "`cd $(dirname ${BASH_SOURCE[0]}) && pwd`/post-process-as-stdin.bash" diff --git a/tests/Fixtures/bin/post-process-as-stdin.bash b/tests/Fixtures/bin/post-process-as-stdin.bash index 856304ed6..26eff133a 100755 --- a/tests/Fixtures/bin/post-process-as-stdin.bash +++ b/tests/Fixtures/bin/post-process-as-stdin.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash source "`cd $(dirname ${BASH_SOURCE[0]}) && pwd`/post-process-common.bash" diff --git a/tests/Fixtures/bin/post-process-common.bash b/tests/Fixtures/bin/post-process-common.bash index 2c870b78f..ed219ea1e 100755 --- a/tests/Fixtures/bin/post-process-common.bash +++ b/tests/Fixtures/bin/post-process-common.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash function writeScriptInformation() { @@ -36,7 +36,7 @@ function writeScriptInformation() function writeScriptDebugFile() { - local debugFile="/tmp/post-process-fixture-bin.log" + local debugFile="${TMPDIR:-/tmp}/post-process-fixture-bin.log" if read -t 0; then cat | tee "${debugFile}"