summaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-17 16:35:34 +0000
committerGitHub <noreply@github.com>2022-08-17 16:35:34 +0000
commit5de215e1447af96ec2b199794cd425b75a2da08a (patch)
tree0e31c520ed94cd9d675748d798c2ba2f423752b3 /test/system
parentf70c9cd78bd377ddc01acc67f00af38325f40edd (diff)
parent5f09d9b60d11b6d96b394a8266e30b3edf0519b6 (diff)
downloadpodman-5de215e1447af96ec2b199794cd425b75a2da08a.tar.gz
podman-5de215e1447af96ec2b199794cd425b75a2da08a.tar.bz2
podman-5de215e1447af96ec2b199794cd425b75a2da08a.zip
Merge pull request #15341 from rhatdan/kube
Fix podman kube generate --help to show correct help message
Diffstat (limited to 'test/system')
-rw-r--r--test/system/710-kube.bats15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/system/710-kube.bats b/test/system/710-kube.bats
new file mode 100644
index 000000000..2608ad34e
--- /dev/null
+++ b/test/system/710-kube.bats
@@ -0,0 +1,15 @@
+#!/usr/bin/env bats -*- bats -*-
+#
+# Test podman kube generate
+#
+
+load helpers
+
+@test "podman kube generate - basic" {
+ run_podman kube generate --help
+ is "$output" ".*podman.* kube generate \[options\] {CONTAINER...|POD...|VOLUME...}"
+ run_podman generate kube --help
+ is "$output" ".*podman.* generate kube \[options\] {CONTAINER...|POD...|VOLUME...}"
+}
+
+# vim: filetype=sh