]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
add tests for ceph pg ls-by-primary
authorxinxin shu <xinxin.shu@intel.com>
Fri, 30 Jan 2015 02:38:27 +0000 (10:38 +0800)
committerxinxin shu <xinxin.shu@intel.com>
Tue, 10 Feb 2015 00:11:25 +0000 (08:11 +0800)
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
qa/workunits/cephtool/test.sh

index d00ac4638003c23f090b79e4947950d05dfeea15..9873b2589fb6046101423ce9691fb02de287fa4a 100755 (executable)
@@ -1064,6 +1064,11 @@ function test_mon_pg()
   ceph pg ls active stale
   ceph pg ls 0 active
   ceph pg ls 0 active stale
+  ceph pg ls-by-primary osd.0
+  ceph pg ls-by-primary osd.0 0
+  ceph pg ls-by-primary osd.0 active
+  ceph pg ls-by-primary osd.0 active stale
+  ceph pg ls-by-primary osd.0 0 active stale
   # can't test this...
   # ceph pg force_create_pg
   ceph pg getmap -o $TMPDIR/map.$$