Prefer /usr/bin/env and searching from PATH

This commit is contained in:
oxalica 2021-06-03 00:30:28 +08:00 committed by Tomas Babej
parent 2cb8f1d5ea
commit 3c402d4fb7
6 changed files with 6 additions and 6 deletions

View file

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