]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: unit test for osd pool create 976/head
authorLoic Dachary <loic@dachary.org>
Fri, 20 Dec 2013 19:39:21 +0000 (20:39 +0100)
committerLoic Dachary <loic@dachary.org>
Sun, 22 Dec 2013 22:43:54 +0000 (23:43 +0100)
commit93c44cb144588103ef3dd5b96cee69cd2a47142d
tree9a9062da1960fc4f67be9b14ea112d25c6cc8e4f
parent59941b10f178610f7fea8a86b2ddc179186266db
mon: unit test for osd pool create

It is inconvenient to run such tests in the
qa/workunits/cephtool/test.sh because they require that the mon is
restarted to test errors in the format of the default erasure code
properties and check the appropriate error message is output.

osd-pool-create.sh runs a single mon from sources using command
line options and a temporary directory, the same way vstart.sh does but
lightweight.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/test/Makefile.am
src/test/mon/osd-pool-create.sh [new file with mode: 0755]