diff --git a/test/test_ui.py b/test/test_ui.py index 237daa3c0..efe0f0dee 100644 --- a/test/test_ui.py +++ b/test/test_ui.py @@ -750,8 +750,8 @@ class CompletionTest(_common.TestCase): 'test_completion.sh') # Tests run in bash - shell = os.environ.get('BEETS_TEST_SHELL', '/bin/bash') - tester = subprocess.Popen(shell, stdin=subprocess.PIPE, + shell = os.environ.get('BEETS_TEST_SHELL', '/bin/bash --norc') + tester = subprocess.Popen(shell.split(' '), stdin=subprocess.PIPE, stdout=subprocess.PIPE) # Load complection script