]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: test helper for get_block_device_size 813/head
authorNoah Watkins <noahwatkins@gmail.com>
Mon, 4 Nov 2013 16:28:23 +0000 (08:28 -0800)
committerNoah Watkins <noahwatkins@gmail.com>
Mon, 4 Nov 2013 18:13:50 +0000 (10:13 -0800)
commit324dd54534e41598feb6169f33cfed85495fa91f
treea60d00a7a264d6a00c2d8f2176a88dd846de3e04
parent268785ff0c0fb861f2db47c7eae933f6528193df
test: test helper for get_block_device_size

This is the start of a potential unit test for get_block_device_size. An
actual unit test will probably need to be run as root, and either find a
device, have one specified, or create one (e.g. ramdisk)  in a platform
agnostic way. In the mean time, this tool can be run by hand, or called
for a bash script.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/test/Makefile.am
src/test/test_get_blkdev_size.cc [new file with mode: 0644]