]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits: cephtool: split into properly indented functions
authorJoao Eduardo Luis <joao.luis@inktank.com>
Wed, 25 Jun 2014 23:55:46 +0000 (00:55 +0100)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Wed, 25 Jun 2014 23:55:46 +0000 (00:55 +0100)
commit3d14a96f4b2b7094d05ead1dec7547d165857e31
tree54be9eb8159d70c7dc233982b0873a17a76e2a95
parent04658b7b2b5f98ae81ffb3f77303745e6d46eb81
qa/workunits: cephtool: split into properly indented functions

The test was a big sequence of commands being run and it has been growing
organically for a while, even though it has maintained a sense of
locality with regard to the portions being tested.

This patch intends to split the commands into functions, allowing for a
better semantic context and easier expansion.  On the other hand, this
will also allow us to implement mechanisms to run specific portions of
the test instead of always having to run the whole thing just to test a
couple of lines down at the bottom (or have to creatively edit the test).

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
qa/workunits/cephtool/test.sh