From 4088f55ee6919e2566c4573512fa3c745199cff0 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Wed, 7 Mar 2018 12:18:54 -0800 Subject: [PATCH] Don't need a shell here --- tests/commands/run_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/commands/run_test.py b/tests/commands/run_test.py index 8107e79a..931ad4a1 100644 --- a/tests/commands/run_test.py +++ b/tests/commands/run_test.py @@ -518,7 +518,7 @@ def test_lots_of_files(mock_out_store_directory, tempdir_factory): filename = '{}{}'.format('a' * 100, i) open(filename, 'w').close() - cmd_output('bash', '-c', 'git add .') + cmd_output('git', 'add', '.') install(Runner(git_path, C.CONFIG_FILE)) cmd_output_mocked_pre_commit_home(