]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/cephtool/test.sh: fix 'ceph df ...' tests
authorSage Weil <sage@redhat.com>
Wed, 6 Aug 2014 20:16:49 +0000 (13:16 -0700)
committerSage Weil <sage@redhat.com>
Wed, 6 Aug 2014 20:16:49 +0000 (13:16 -0700)
Broken by ee2dbdb0f5e54fe6f9c5999c032063b084424c4c and friends.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/cephtool/test.sh

index f8d13947eeb23f3bdef3a55b0ef5fe59def06f3d..d2a8343fd2b43da73af1e5211e460d289f4aba27 100755 (executable)
@@ -302,13 +302,13 @@ function test_mon_misc()
   grep CATEGORY $TMPFILE
   grep DIRTY $TMPFILE
   ceph df --format json > $TMPFILE
-  grep 'total_space' $TMPFILE
+  grep 'total_bytes' $TMPFILE
   grep -v 'dirty' $TMPFILE
   ceph df detail --format json > $TMPFILE
-  grep 'rd_kb' $TMPFILE
+  grep 'rd_bytes' $TMPFILE
   grep 'dirty' $TMPFILE
-  ceph df --format xml | grep '<total_space>'
-  ceph df detail --format xml | grep '<rd_kb>'
+  ceph df --format xml | grep '<total_bytes>'
+  ceph df detail --format xml | grep '<rd_bytes>'
 
   ceph fsid
   ceph health