summaryrefslogtreecommitdiff
path: root/test/system/300-cli-parsing.bats
blob: 2abc01bb79150c84e09c5a42a46de10ebfd4d750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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

    if is_remote; then sleep 2;fi   # FIXME: pending #7119
}

# vim: filetype=sh