summaryrefslogtreecommitdiff
path: root/test/system/015-help.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-08-19 20:31:45 +0200
committerGitHub <noreply@github.com>2020-08-19 20:31:45 +0200
commit15073f444e1e65881bc84eeeb275a564f39fb51e (patch)
treef1514a4eeb89860332248d620d195c76f047618c /test/system/015-help.bats
parentd6ae56113a4cff36b358f71e9ffc5e5eb6c6e9b3 (diff)
parentd254fa4c35d81992084ddad300adf487239808db (diff)
downloadpodman-15073f444e1e65881bc84eeeb275a564f39fb51e.tar.gz
podman-15073f444e1e65881bc84eeeb275a564f39fb51e.tar.bz2
podman-15073f444e1e65881bc84eeeb275a564f39fb51e.zip
Merge pull request #7362 from edsantiago/bats
system tests: enable more remote tests; cleanup
Diffstat (limited to 'test/system/015-help.bats')
-rw-r--r--test/system/015-help.bats8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/system/015-help.bats b/test/system/015-help.bats
index 76d29d22c..4a3781012 100644
--- a/test/system/015-help.bats
+++ b/test/system/015-help.bats
@@ -178,6 +178,14 @@ function check_help() {
# Called with no args -- start with 'podman --help'. check_help() will
# recurse for any subcommands.
check_help
+
+ # Test for regression of #7273 (spurious "--remote" help on output)
+ for helpopt in help --help; do
+ run_podman $helpopt
+ is "${lines[0]}" "Manage pods, containers and images" \
+ "podman $helpopt: first line of output"
+ done
+
}
# vim: filetype=sh