]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
add tests for ceph pg ls-by-osd
authorxinxin shu <xinxin.shu@intel.com>
Fri, 30 Jan 2015 04:55:19 +0000 (12:55 +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 9873b2589fb6046101423ce9691fb02de287fa4a..98e9de995e78b8463daa916777d4e9c79de76fc4 100755 (executable)
@@ -1069,6 +1069,11 @@ function test_mon_pg()
   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
+  ceph pg ls-by-osd osd.0
+  ceph pg ls-by-osd osd.0 0
+  ceph pg ls-by-osd osd.0 active
+  ceph pg ls-by-osd osd.0 active stale
+  ceph pg ls-by-osd osd.0 0 active stale
   # can't test this...
   # ceph pg force_create_pg
   ceph pg getmap -o $TMPDIR/map.$$