From 0bd385f30bc54504a5409ef791df81041e08b580 Mon Sep 17 00:00:00 2001 From: taodd Date: Sat, 16 Jun 2018 17:44:35 +0800 Subject: [PATCH] qa/cephfs: add test for "dump inode" Signed-off-by: dongdong tao --- qa/tasks/cephfs/test_misc.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qa/tasks/cephfs/test_misc.py b/qa/tasks/cephfs/test_misc.py index 6757b009b736e..1b46efb028d3f 100644 --- a/qa/tasks/cephfs/test_misc.py +++ b/qa/tasks/cephfs/test_misc.py @@ -146,3 +146,8 @@ class TestMisc(CephFSTestCase): ratio = raw_avail / fs_avail assert 0.9 < ratio < 1.1 + + def test_dump_inode(self): + info = self.fs.mds_asok(['dump', 'inode', '1']) + assert(info['path'] == "/") + -- 2.39.5