Test completion with clean bash instance

This commit is contained in:
Thomas Scholtes 2014-02-27 15:09:02 +01:00
parent 4c00e52455
commit 81a28198aa

View file

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