ceph/qa/workunits/mon/pool_ops.sh
Sage Weil 4788567e0f qa: simple test for pool create/delete commands
Signed-off-by: Sage Weil <sage@inktank.com>
2012-07-27 10:43:26 -07:00

21 lines
295 B
Bash
Executable File

#!/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