]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
add tests for ceph pg ls
authorxinxin shu <xinxin.shu@intel.com>
Fri, 30 Jan 2015 01:49:23 +0000 (09:49 +0800)
committerxinxin shu <xinxin.shu@intel.com>
Mon, 2 Feb 2015 05:06:21 +0000 (13:06 +0800)
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
qa/workunits/cephtool/test.sh

index 4baa57ea4e2a123eeada3d769be0319feb333bc2..d00ac4638003c23f090b79e4947950d05dfeea15 100755 (executable)
@@ -1058,6 +1058,12 @@ function test_mon_pg()
   ceph pg dump_stuck stale
   ceph pg dump_stuck undersized
   ceph pg dump_stuck degraded
+  ceph pg ls
+  ceph pg ls 0
+  ceph pg ls stale
+  ceph pg ls active stale
+  ceph pg ls 0 active
+  ceph pg ls 0 active stale
   # can't test this...
   # ceph pg force_create_pg
   ceph pg getmap -o $TMPDIR/map.$$