docker_container: return status also when 0 for non-detached containers (#58)

* Return status also when 0.

* Fix PR number.
This commit is contained in:
Felix Fontein
2021-01-02 18:53:25 +01:00
committed by GitHub
parent 9b131399ce
commit e4b747d788
3 changed files with 15 additions and 1 deletions
@@ -588,9 +588,11 @@
# often enough to be annoying. That's why we disable this for now,
# and simply test that 'Output' is contained in the result.
- "'Output' in detach_no_cleanup.container"
- detach_no_cleanup.status == 0
# - "'Hello from Docker!' in detach_no_cleanup.container.Output"
- detach_no_cleanup_cleanup is changed
- "'Output' in detach_cleanup.container"
- detach_cleanup.status == 0
# - "'Hello from Docker!' in detach_cleanup.container.Output"
- detach_cleanup_cleanup is not changed
- assert: