From: Rishabh Dave Date: Tue, 1 Oct 2019 09:12:51 +0000 (+0530) Subject: test_cephfs_shell: pass arg to "help" in test_help X-Git-Tag: v15.1.0~953^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=34ab7b946586c078cf9ba3f9defc4ddd2efa17b5;p=ceph.git test_cephfs_shell: pass arg to "help" in test_help The default behaviour by cmd2 for help command with no argument is to print all possible commands and return 1. This leads to a failure even when test is supposed to pass. Fixes: https://tracker.ceph.com/issues/42101 Signed-off-by: Rishabh Dave --- diff --git a/qa/tasks/cephfs/test_cephfs_shell.py b/qa/tasks/cephfs/test_cephfs_shell.py index da8ceb6fed7..5882c1bb6bd 100644 --- a/qa/tasks/cephfs/test_cephfs_shell.py +++ b/qa/tasks/cephfs/test_cephfs_shell.py @@ -619,7 +619,5 @@ class TestMisc(TestCephFSShell): """ Test that help outputs commands. """ - - o = self.get_cephfs_shell_cmd_output("help") - + o = self.get_cephfs_shell_cmd_output("help all") log.info("output:\n{}".format(o))