diff options
author | Ed Santiago <santiago@redhat.com> | 2021-10-19 14:17:07 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2021-10-19 14:22:50 -0600 |
commit | 960a55c09d8b84d3261b4a9fbc9e02c43928fa41 (patch) | |
tree | 5ea3c1471292401b3ddec2cd921957d2c843dee0 /test/system/170-run-userns.bats | |
parent | 7fa99358bd7e165f5b14b12b778614812ae42c8b (diff) | |
download | podman-960a55c09d8b84d3261b4a9fbc9e02c43928fa41.tar.gz podman-960a55c09d8b84d3261b4a9fbc9e02c43928fa41.tar.bz2 podman-960a55c09d8b84d3261b4a9fbc9e02c43928fa41.zip |
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 #11990)
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system/170-run-userns.bats')
0 files changed, 0 insertions, 0 deletions