mirror of
https://github.com/containers/podman
synced 2024-10-21 01:34:37 +00:00
a0fb081003
We need to remove the container after it has exited for podman-remote run --rm commands. If we don't remove this container at this step, we open ourselves up to race conditions. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
16 lines
432 B
Bash
16 lines
432 B
Bash
#!/usr/bin/env bats -*- bats -*-
|
|
#
|
|
# Various command-line parsing regression tests that don't fit in elsewhere
|
|
#
|
|
|
|
load helpers
|
|
|
|
@test "podman cli parsing - quoted args - #2574" {
|
|
# 1.1.2 fails with:
|
|
# Error: invalid argument "true=\"false\"" for "-l, --label" \
|
|
# flag: parse error on line 1, column 5: bare " in non-quoted-field
|
|
run_podman run --rm --label 'true="false"' $IMAGE true
|
|
}
|
|
|
|
# vim: filetype=sh
|