From 52371057cdd4084ac7c333d84b5f723029012855 Mon Sep 17 00:00:00 2001
From: baude <bbaude@redhat.com>
Date: Thu, 30 Apr 2020 12:31:48 -0500
Subject: 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>
---
 test/system/015-help.bats | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'test/system')

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
 
-- 
cgit v1.2.3-54-g00ecf