mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
If SHELL
is not in the environ, the error message is different.
This commit is contained in:
parent
1ad2ceb5e1
commit
90d375d14e
@ -40,7 +40,10 @@ class PipStateTest(integration.ModuleCase, integration.SaltReturnAssertsMixIn):
|
||||
self.assertSaltCommentRegexpMatches(
|
||||
ret,
|
||||
'Error installing \'supervisor\': .* '
|
||||
'[nN]o such file or directory'
|
||||
# If SHELL is set in the environ the error is:
|
||||
'([nN]o such file or directory|'
|
||||
# if there's no SHELL in the environ, the error is different
|
||||
'/tmp/pip-installed-errors: not found)'
|
||||
)
|
||||
|
||||
# We now create the missing virtualenv
|
||||
|
Loading…
Reference in New Issue
Block a user