Skip to content
Success

Changes

Summary

  1. testenv: podman.exec_cmd: better error if stopped (details)
Commit 24ee98cc7fd81d0144b0c87462ae6d76d85e781a by Oliver Smith
testenv: podman.exec_cmd: better error if stopped

Testenv may try to run a comand in podman after the container was
stopped, if there is a bug in the shutdown logic. Give a meaningful
error in that case, instead of failing later on with a cryptic error in
subprocess.run() because None was passed inside cmd (for the container
name) instead of a string.

Change-Id: I29ebe200258a9a9ffb127ec8fa1260b7e2124c38
The file was modified_testenv/testenv/podman.py