]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cookbooks.git/commitdiff
Adds tests for the cephfs_mount attribute 136/head
authorWalter Huf <walter.huf@corvisa.com>
Fri, 18 Jul 2014 22:30:59 +0000 (17:30 -0500)
committerWalter Huf <walter.huf@corvisa.com>
Fri, 18 Jul 2014 22:30:59 +0000 (17:30 -0500)
test/cookbooks/ceph_test/attributes/cephfs_mount.rb [new file with mode: 0644]
test/integration/aio/bats/cephfs.bats

diff --git a/test/cookbooks/ceph_test/attributes/cephfs_mount.rb b/test/cookbooks/ceph_test/attributes/cephfs_mount.rb
new file mode 100644 (file)
index 0000000..fc2c912
--- /dev/null
@@ -0,0 +1 @@
+default['ceph']['cephfs_mount'] = '/recipe_ceph'
index 78d4f9d1072a522b2816ac208ea34645d8b6e515..8dd3cbe584c5553265a1a68256479603aed1a345 100644 (file)
@@ -1,3 +1,7 @@
+@test "/recipe_ceph is mounted" {
+  grep -q -E '^\S+\s+/recipe_ceph\s+' /proc/mounts
+}
+
 @test "/ceph is mounted" {
   grep -q -E '^\S+\s+/ceph\s+' /proc/mounts
 }