From: Walter Huf Date: Fri, 18 Jul 2014 22:30:59 +0000 (-0500) Subject: Adds tests for the cephfs_mount attribute X-Git-Tag: v0.8.0~25^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e4e448942b31371e8c59f3c4b447751563b8b5ad;p=ceph-cookbooks.git Adds tests for the cephfs_mount attribute --- diff --git a/test/cookbooks/ceph_test/attributes/cephfs_mount.rb b/test/cookbooks/ceph_test/attributes/cephfs_mount.rb new file mode 100644 index 0000000..fc2c912 --- /dev/null +++ b/test/cookbooks/ceph_test/attributes/cephfs_mount.rb @@ -0,0 +1 @@ +default['ceph']['cephfs_mount'] = '/recipe_ceph' diff --git a/test/integration/aio/bats/cephfs.bats b/test/integration/aio/bats/cephfs.bats index 78d4f9d..8dd3cbe 100644 --- a/test/integration/aio/bats/cephfs.bats +++ b/test/integration/aio/bats/cephfs.bats @@ -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 }