1
0
mirror of https://gitlab.gnome.org/GNOME/gparted synced 2024-07-05 01:08:39 +00:00
gparted/tests
Mike Fleetwood 5b47fb5c68 Add bcachefs creation (!123)
Set the minimum file system size to 16 MiB as creating a bcachefs that
size succeeds:
    $ truncate -s $((16*1024*1024)) /tmp/disk.img
    $ bcachefs format /tmp/disk.img
    ...
    initializing new filesystem
    going read-write
    initializing freespace
    $ echo $?
    0

Where as creating a smaller file system fails for most sizes below that:
    $ rm /tmp/disk.img
    $ truncate -s $((15*1024*1024)) /tmp/disk.img
    $ bcachefs format /tmp/disk.img
    ...
    mounting version 1.6: btree_subvolume_children
    initializing new filesystem
    going read-write
    bch2_trans_mark_dev_sb(): error ENOSPC_disk_reservation
    bch2_fs_initialize(): error marking superblocks ENOSPC_disk_reservation
    bch2_fs_initialize(): error ENOSPC_disk_reservation
    bch2_fs_start(): error starting filesystem ENOSPC_disk_reservation
    error opening /tmp/disk.img: ENOSPC_disk_reservation
    $ echo $?
    1

Closes !123 - Add support for bcachefs, single device file systems only
2024-04-10 22:44:26 +01:00
..
common.cc C++11: Also convert NULL to nullptr in unit tests (!117) 2023-09-23 15:30:15 +00:00
common.h Move duplicated test code into shared modules (#220) 2023-02-13 16:33:57 +00:00
exclude_loopdev_tests.sh Replace deprecated Google Test API INSTANTIATE_TEST_CASE_P() (!117) 2023-09-23 15:30:15 +00:00
insertion_operators.cc Move duplicated test code into shared modules (#220) 2023-02-13 16:33:57 +00:00
insertion_operators.h Move duplicated test code into shared modules (#220) 2023-02-13 16:33:57 +00:00
makedev.sh Add /dev/disk/by-id/ symlink in CI for test_BlockSpecial 2020-03-14 15:31:37 +00:00
Makefile.am Add bcachefs creation (!123) 2024-04-10 22:44:26 +01:00
test_BlockSpecial.cc C++11: Also convert NULL to nullptr in unit tests (!117) 2023-09-23 15:30:15 +00:00
test_dummy.cc Add unit test suites with initial successful dummy test (#781978) 2017-06-02 10:13:16 -06:00
test_EraseFileSystemSignatures.cc C++11: Also convert NULL to nullptr in unit tests (!117) 2023-09-23 15:30:15 +00:00
test_PasswordRAMStore.cc C++11: Also convert NULL to nullptr in unit tests (!117) 2023-09-23 15:30:15 +00:00
test_PipeCapture.cc Move duplicated test code into shared modules (#220) 2023-02-13 16:33:57 +00:00
test_SupportedFileSystems.cc Replace deprecated Google Test API INSTANTIATE_TEST_CASE_P() (!117) 2023-09-23 15:30:15 +00:00