Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
system tests: CONTAINER_* and --help: cleanup
A small part of this test was written in a confusing and fragile way: it was very hard to understand, and in fact only worked through pure luck (using 'echo $output', which emitted everything in one long line, vs the standard quoted 'echo "$output"' which would've kept the formatting and caused the test to pass, incorrectly, no matter whether --remote was in the output or not). Plus, the '$?' check in the next line would never trigger on failure anyway, so the failure message would've been unhelpful if the test were ever to fail. Anyhow. Make it readable and make it work. (Followup to containers#11990) Signed-off-by: Ed Santiago <[email protected]>
- Loading branch information