From 81a28198aa4e7880255d6ef6b660f815028a55e2 Mon Sep 17 00:00:00 2001 From: Thomas Scholtes Date: Thu, 27 Feb 2014 15:09:02 +0100 Subject: [PATCH] Test completion with clean bash instance --- test/test_ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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