@@ -81,7 +81,7 @@ def _expect_platform_shell(shell):
8181 if WINDOWS :
8282 assert shell .endswith ("cmd.exe" )
8383 else :
84- assert shell == "/bin/bash "
84+ assert shell == "/bin/sh "
8585
8686
8787def _make_tcattrs (cc_is_ints = True , echo = False ):
@@ -218,10 +218,10 @@ def kwarg_beats_config(self):
218218 assert runner .run (_ , pty = True ).pty is True
219219
220220 class shell :
221- def defaults_to_bash_or_cmdexe_when_pty_True (self ):
221+ def defaults_to_sh_or_cmdexe_when_pty_True (self ):
222222 _expect_platform_shell (self ._run (_ , pty = True ).shell )
223223
224- def defaults_to_bash_or_cmdexe_when_pty_False (self ):
224+ def defaults_to_sh_or_cmdexe_when_pty_False (self ):
225225 _expect_platform_shell (self ._run (_ , pty = False ).shell )
226226
227227 def may_be_overridden (self ):
@@ -1651,14 +1651,14 @@ def overridden_fallback_affects_result_pty_value(self):
16511651
16521652 class shell :
16531653 @mock_pty (insert_os = True )
1654- def defaults_to_bash_or_cmdexe_when_pty_True (self , mock_os ):
1654+ def defaults_to_sh_or_cmdexe_when_pty_True (self , mock_os ):
16551655 # NOTE: yea, windows can't run pty is true, but this is really
16561656 # testing config behavior, so...meh
16571657 self ._run (_ , pty = True )
16581658 _expect_platform_shell (mock_os .execve .call_args_list [0 ][0 ][0 ])
16591659
16601660 @mock_subprocess (insert_Popen = True )
1661- def defaults_to_bash_or_cmdexe_when_pty_False (self , mock_Popen ):
1661+ def defaults_to_sh_or_cmdexe_when_pty_False (self , mock_Popen ):
16621662 self ._run (_ , pty = False )
16631663 _expect_platform_shell (
16641664 mock_Popen .call_args_list [0 ][1 ]["executable" ]
0 commit comments