From: Erwan Velu Date: Mon, 4 Apr 2016 14:55:08 +0000 (+0200) Subject: tests: Fixing broken test/cephtool-test-mon.sh test X-Git-Tag: v10.1.1~10^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f47e06b90751a1efd3e73d29ab122b86aaebfd71;p=ceph.git tests: Fixing broken test/cephtool-test-mon.sh test 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 --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index a75e9c65620c..4af465f95f54 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -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