summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2020-04-30 12:31:48 -0500
committerbaude <bbaude@redhat.com>2020-04-30 15:10:49 -0500
commit52371057cdd4084ac7c333d84b5f723029012855 (patch)
tree7961d31eb3722d4329be65205c6f8c2400ff965a /test
parent91a42fefcbd5372c8701f5a0f5d6da85216cc465 (diff)
downloadpodman-52371057cdd4084ac7c333d84b5f723029012855.tar.gz
podman-52371057cdd4084ac7c333d84b5f723029012855.tar.bz2
podman-52371057cdd4084ac7c333d84b5f723029012855.zip
fix commands without input
in cases where commands require input and we dont provide it, we often would segv. This can be attributed in many cases to the subcommand not picked up the cobra Args attribute or neither had them. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/system/015-help.bats2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/system/015-help.bats b/test/system/015-help.bats
index 231e52195..6c3d617dc 100644
--- a/test/system/015-help.bats
+++ b/test/system/015-help.bats
@@ -71,7 +71,7 @@ function check_help() {
# try to read username/password from stdin.
dprint "podman $@ $cmd (without required args)"
run_podman 125 "$@" $cmd </dev/null
- is "$output" "Error:.* \(require\|specif\|must\|provide\|need\|choose\)" \
+ is "$output" "Error:.* \(require\|specif\|must\|provide\|need\|choose\|accepts\)" \
"'podman $@ $cmd' without required arg"
fi