]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: add test_setup_dev_and_run to ceph-disk.sh
authorLoic Dachary <ldachary@redhat.com>
Wed, 1 Apr 2015 12:54:10 +0000 (14:54 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sun, 5 Apr 2015 23:58:18 +0000 (01:58 +0200)
commit282ccce16a5ddee0545eb91bafe2f630b1c737e4
tree849c4a944090f218358872089ed960ec5cfab39b
parentc583b57670c37affa6d8005aa97718d92d1de788
tests: add test_setup_dev_and_run to ceph-disk.sh

Move test_activate_dev to test_setup_dev_and_run and make it
run the function given in argument. test_activate_dev calls
test_setup_dev_and_run and no longer needs to implement device
allocation or destruction.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/ceph-disk.sh