From 988dd79ae514aaccb1e0314a4fa7940479fa3012 Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Fri, 17 Jan 2025 17:51:26 +0100 Subject: [PATCH] Fix test_completion by not hardcoding bash path --- test/test_ui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_ui.py b/test/test_ui.py index 0415700679..0436c52385 100644 --- a/test/test_ui.py +++ b/test/test_ui.py @@ -1406,7 +1406,9 @@ def test_completion(self): # Open a `bash` process to run the tests in. We'll pipe in bash # commands via stdin. - cmd = os.environ.get("BEETS_TEST_SHELL", "/bin/bash --norc").split() + cmd = os.environ.get( + "BEETS_TEST_SHELL", "/usr/bin/env bash --norc" + ).split() if not has_program(cmd[0]): self.skipTest("bash not available") tester = subprocess.Popen(