Tasks #4321
closedunit tests for FileStore::_detect_fs
10%
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
Updated by Loïc Dachary about 11 years ago
- Description updated (diff)
- % Done changed from 0 to 10
- Estimated time set to 16:00 h
Updated by Loïc Dachary about 11 years ago
Rebase to help with the pull request and submit a pull request. The patch http://marc.info/?l=ceph-devel&m=136248439028974&w=2 was sent to the list shortly before it was decided that github pull requests should be used instead, which is probably why it was overlooked.
Updated by Loïc Dachary over 10 years ago
- Status changed from In Progress to Resolved
A new ticket can be created when there is an incentive to keep working on this topic. When and if someone find the motivation, it is doubtfull that (s)he will find this issue anyway, better close it and leave it to 10% done.