aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2022-08-16 09:58:02 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2022-08-16 16:03:48 -0400
commit5f09d9b60d11b6d96b394a8266e30b3edf0519b6 (patch)
tree42f1092539e6a2921c81d68947f2cdcb2c8a00f8 /test
parent3aa92010dfd56fcc674fb998ad2d8551acf0cba9 (diff)
downloadpodman-5f09d9b60d11b6d96b394a8266e30b3edf0519b6.tar.gz
podman-5f09d9b60d11b6d96b394a8266e30b3edf0519b6.tar.bz2
podman-5f09d9b60d11b6d96b394a8266e30b3edf0519b6.zip
Fix podman kube generate --help to show correct help message
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test')
-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