]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/rbd: Improve/update rbd-ggate 23630/head
authorWillem Jan Withagen <wjw@digiware.nl>
Fri, 17 Aug 2018 14:46:32 +0000 (16:46 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Tue, 21 Aug 2018 12:16:49 +0000 (14:16 +0200)
commitb8cc3fdb09783d582dfc7d3ad6cb6cd7b5bcd671
tree82de839f3f411aee1d14f69e27179ed1a006e2fe
parent4573c7453aaa9f8d63f09a3d770de2fa8c7794f2
test/rbd: Improve/update rbd-ggate

* check if geom_gate can be loaded before doing the actual tests

Otherwise continuing does not make sense.
Major reason for this problem is due to mismatch between
kernel and module versions.

* After FreeBSD kernevel 1200078 ggate resizing is possible

So set the flag that resizing can be tested

* Only sudo commands that really need sudo

rbd-ggate list is available in regular user mode

* be a bit more verbose during testing and list the test purpose

* list-mapped is an option in rbd-nbd, not (yet) in rbd-ggate

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
qa/workunits/rbd/rbd-ggate.sh