diff options
author | Ed Santiago <santiago@redhat.com> | 2021-03-29 06:06:04 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2021-03-29 06:10:42 -0600 |
commit | 06ae12bd4ef9447dae69827b1c11fbf40d1615bc (patch) | |
tree | cfda5525a447c11e71dcd6fdb4f0ba7d2b618cf6 /test/e2e/rename_test.go | |
parent | 259004f0a9cc18018127baec0bfcf8bc091dabb6 (diff) | |
download | podman-06ae12bd4ef9447dae69827b1c11fbf40d1615bc.tar.gz podman-06ae12bd4ef9447dae69827b1c11fbf40d1615bc.tar.bz2 podman-06ae12bd4ef9447dae69827b1c11fbf40d1615bc.zip |
system tests: friendier messages for 2-arg is()
The 'is' check was intended to be called with three arguments,
the last one being a nice helpful test name. There's a fallback
for two-argument calls, but it was a horrible FIXME.
New fallback: the most recently run podman command. We keep
track of it in each run_podman() invocation.
This is not ideal, because it's theoretically possible to
invoke 'is' on something other than the output of run_podman,
but this at least fixes the by-far-most-common case.
[NO TESTS NEEDED]
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/e2e/rename_test.go')
0 files changed, 0 insertions, 0 deletions