]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test_cephfs_shell: pass arg to "help" in test_help 30657/head
authorRishabh Dave <ridave@redhat.com>
Tue, 1 Oct 2019 09:12:51 +0000 (14:42 +0530)
committerRishabh Dave <ridave@redhat.com>
Sat, 2 Nov 2019 08:48:07 +0000 (14:18 +0530)
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 <ridave@redhat.com>
qa/tasks/cephfs/test_cephfs_shell.py

index da8ceb6fed79cf5b74c3f004c7f2e78682d536c4..5882c1bb6bd513361b905f06fb96ca7790219f1f 100644 (file)
@@ -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))