Actions
Tasks #4321
closedunit tests for FileStore::_detect_fs
% Done:
10%
Tags:
Reviewed:
Affected Versions:
Pull request ID:
Description
FileStore.cc::_detect_fs unit testing requires root privileges . It is best done by coupling a shell script (in the qa/workunits directory) that setup the proper environment for unit tests written in test/filestore/store_test.cc
- for fs in ext4 btrfs xfs
- create an $fs filesystem
- run ceph_test_filestore --gtest_filter=${fs}StoreTest.*
The workunit test is then run as part of teuthology to check code coverage
Actions