qa: simple test for pool create/delete commands

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2012-07-19 21:56:56 -07:00
parent a01e22d259
commit 4788567e0f

20
qa/workunits/mon/pool_ops.sh Executable file
View File

@ -0,0 +1,20 @@
#!/bin/sh -x
set -e
ceph osd pool create foo 123 123
ceph osd pool create fooo 123
ceph osd pool create foooo
ceph osd pool create foo # idempotent
ceph osd pool delete foo
ceph osd pool delete foo
ceph osd pool delete fuggg
ceph osd pool delete fooo
ceph osd pool delete foooo
echo OK