Fix module_utils_common.respawn test. (#78248)

The respawn failure can be returned on either stdout or stderr.
pull/78223/head
Matt Clay 2 years ago committed by GitHub
parent be88250a83
commit b85bcd7abf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,4 +21,4 @@
# ensure that the respawned interpreter is not the same as the default
- default_python.interpreter_path != respawned_python.interpreter_path
# multiple nested respawns should fail
- multi_respawn is failed and multi_respawn.module_stderr is search('has already been respawned')
- multi_respawn is failed and (multi_respawn.module_stdout + multi_respawn.module_stderr) is search('has already been respawned')

Loading…
Cancel
Save