diff --git a/test/quotes.t b/test/quotes.t index 82795b7d3..898c85dc8 100755 --- a/test/quotes.t +++ b/test/quotes.t @@ -130,7 +130,7 @@ class TestBug1436(TestCase): This problem is entirely testing artifact, and not Taskwarrior. """ - self.echo = Task(taskw=utils.binary_location("/bin/echo")) + self.echo = Task(taskw=utils.binary_location("echo", USE_PATH=True)) # One level of backshashes gets eaten by bash # Verify with: $ echo xxx \\\\yyy zzz diff --git a/test/tw-1883.t b/test/tw-1883.t index 37a0f2b14..5d88350e8 100755 --- a/test/tw-1883.t +++ b/test/tw-1883.t @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Test for TW-1883 (#1896 on Github) # https://github.com/GothenburgBitFactory/taskwarrior/issues/1896 diff --git a/test/tw-1895.t b/test/tw-1895.t index 3999150c5..60157531a 100644 --- a/test/tw-1895.t +++ b/test/tw-1895.t @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash . bash_tap_tw.sh diff --git a/test/tw-2124.t b/test/tw-2124.t index 945221d58..2c75a63a1 100755 --- a/test/tw-2124.t +++ b/test/tw-2124.t @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # A test case for TW-2124. # https://github.com/GothenburgBitFactory/taskwarrior/issues/2124 diff --git a/test/tw-2257.t b/test/tw-2257.t index 248223017..944ff7a3d 100755 --- a/test/tw-2257.t +++ b/test/tw-2257.t @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash . bash_tap_tw.sh diff --git a/test/tw-2386.t b/test/tw-2386.t index a739e9359..76ebd908f 100755 --- a/test/tw-2386.t +++ b/test/tw-2386.t @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash . bash_tap_tw.sh