@@ -81,7 +81,7 @@ def _expect_platform_shell(shell):
81
81
if WINDOWS :
82
82
assert shell .endswith ("cmd.exe" )
83
83
else :
84
- assert shell == "/bin/bash "
84
+ assert shell == "/bin/sh "
85
85
86
86
87
87
def _make_tcattrs (cc_is_ints = True , echo = False ):
@@ -218,10 +218,10 @@ def kwarg_beats_config(self):
218
218
assert runner .run (_ , pty = True ).pty is True
219
219
220
220
class shell :
221
- def defaults_to_bash_or_cmdexe_when_pty_True (self ):
221
+ def defaults_to_sh_or_cmdexe_when_pty_True (self ):
222
222
_expect_platform_shell (self ._run (_ , pty = True ).shell )
223
223
224
- def defaults_to_bash_or_cmdexe_when_pty_False (self ):
224
+ def defaults_to_sh_or_cmdexe_when_pty_False (self ):
225
225
_expect_platform_shell (self ._run (_ , pty = False ).shell )
226
226
227
227
def may_be_overridden (self ):
@@ -1651,14 +1651,14 @@ def overridden_fallback_affects_result_pty_value(self):
1651
1651
1652
1652
class shell :
1653
1653
@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 ):
1655
1655
# NOTE: yea, windows can't run pty is true, but this is really
1656
1656
# testing config behavior, so...meh
1657
1657
self ._run (_ , pty = True )
1658
1658
_expect_platform_shell (mock_os .execve .call_args_list [0 ][0 ][0 ])
1659
1659
1660
1660
@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 ):
1662
1662
self ._run (_ , pty = False )
1663
1663
_expect_platform_shell (
1664
1664
mock_Popen .call_args_list [0 ][1 ]["executable" ]
0 commit comments