]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: add `fs reset` to cephtool tests
authorJohn Spray <john.spray@redhat.com>
Mon, 12 Jan 2015 13:54:52 +0000 (13:54 +0000)
committerJohn Spray <john.spray@redhat.com>
Mon, 12 Jan 2015 15:00:15 +0000 (15:00 +0000)
This is just a superficial "I can call it" test,
it's actual behaviour is checked elsewhere.

Signed-off-by: John Spray <john.spray@redhat.com>
qa/workunits/cephtool/test.sh

index 048ae113b66de89ccaacce8a4779859f7252ec47..576d6da652e21f2b998de935d4d6ef2c2cc9af17 100755 (executable)
@@ -715,6 +715,11 @@ function test_mon_mds()
   metadata_poolnum=$(ceph osd dump | grep "pool.* 'fs_metadata" | awk '{print $2;}')
 
   fail_all_mds
+
+  # Check that 'fs reset' runs
+  ceph fs reset cephfs --yes-i-really-mean-it
+
+  # Clean up to enable subsequent newfs tests
   ceph fs rm cephfs --yes-i-really-mean-it
 
   set +e