diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/system/001-basic.bats | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/system/001-basic.bats b/test/system/001-basic.bats index 748377e4b..582efa058 100644 --- a/test/system/001-basic.bats +++ b/test/system/001-basic.bats @@ -126,6 +126,17 @@ See 'podman version --help'" "podman version --remote" if grep -- " --remote " <<<"$output"; then die "podman --help, with CONTAINER_CONNECTION set, is showing --remote" fi + + # When it detects --url or --connection, --remote is not an option + run_podman --url foobar --help + if grep -- " --remote " <<<"$output"; then + die "podman --help, with --url set, is showing --remote" + fi + + run_podman --connection foobar --help + if grep -- " --remote " <<<"$output"; then + die "podman --help, with --connection set, is showing --remote" + fi } # Check that just calling "podman-remote" prints the usage message even |