]> git.apps.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)
committerSage Weil <sage@redhat.com>
Fri, 1 Aug 2014 23:56:28 +0000 (16:56 -0700)
commit5bcf690b1dbf5a2e4388661f9d280b5934db1c9c
tree9bb39db9aaebf1c99ae784ffa855f0dde95f8dc8
parent2af751807d1b51348302734c46d506db294303fd
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>
(cherry picked from commit 3d14a96f4b2b7094d05ead1dec7547d165857e31)

Conflicts:
qa/workunits/cephtool/test.sh
qa/workunits/cephtool/test.sh