]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: Fixing broken test/cephtool-test-mon.sh test 8429/head
authorErwan Velu <erwan@redhat.com>
Mon, 4 Apr 2016 14:55:08 +0000 (16:55 +0200)
committerErwan Velu <erwan@redhat.com>
Mon, 4 Apr 2016 14:58:58 +0000 (16:58 +0200)
Since the merge of pr #7693, 'ceph command' to get the help is invalid.
As a result, 'test/cephtool-test-mon.sh' test was broken

This patch simply change the 'ceph command' by a 'ceph --help command'

Since this change the test is passing again.

Signed-off-by: Erwan Velu <erwan@redhat.com>
qa/workunits/cephtool/test.sh

index a75e9c65620c3ae43b79d137a3a7fa10882360d1..4af465f95f54678a8c45e280291698a8ce408e8c 100755 (executable)
@@ -1007,7 +1007,7 @@ function test_mon_mds_metadata()
 function test_mon_mon()
 {
   # print help message
-  ceph mon
+  ceph --help mon
   # no mon add/remove
   ceph mon dump
   ceph mon getmap -o $TMPDIR/monmap.$$
@@ -1145,7 +1145,7 @@ function test_mon_osd()
   [ "$id" = "$id2" ]
   ceph osd rm $id
 
-  ceph osd
+  ceph --help osd
 
   # reset max_osd.
   ceph osd setmaxosd $id