d6e8236860
Checking a MINIX V3 file system fails like this: $ ./test_SupportedFileSystems --gtest_filter='*Check/minix' ... [ RUN ] My/SupportedFileSystemsTest.CreateAndCheck/minix test_SupportedFileSystems.cc:554: Failure Value of: m_fs_object->check_repair(m_partition, m_operation_detail) Actual: false Expected: true Operation details: mkfs.minix -3 '/home/centos/programming/c/gparted/tests/test_SupportedFileSystems.img' 00:00:00 (SUCCESS) 87392 inodes 262144 blocks Firstdatazone=5507 (5507) Zonesize=1024 Maxsize=2147483647 fsck.minix '/home/centos/programming/c/gparted/tests/test_SupportedFileSystems.img' 00:00:00 (ERROR) fsck.minix from util-linux 2.23.2 bad magic number in super-block [ FAILED ] My/SupportedFileSystemsTest.CreateAndCheck/minix, where GetParam() = 21 (182 ms) fsck.minix doesn't support checking MINIX V3 file systems until this commit, first included in util-linux 2.27 released 2015-09-07. https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=86a9f3dad58addb50eca9daa9d233827a005dad7 fsck.minix: add minix v3 support CentOS 7 only includes util-linux 2.23.2 so is affected by this, however Ubuntu 18.04 LTS includes util-linux 2.31.1 so is not affected. Just always skip this test for now. Plan to re-enable later when the oldest supported distributions and GitLab CI images include the needed util-linux release. Closes !49 - Add file system interface tests |
||
---|---|---|
.. | ||
Makefile.am | ||
test_BlockSpecial.cc | ||
test_PasswordRAMStore.cc | ||
test_PipeCapture.cc | ||
test_SupportedFileSystems.cc | ||
test_dummy.cc |