From Fedora Project Wiki
Description
This test case ensures the basic functionalities of e2fsprogs
work correctly on ext2/ext3/ext4 file systems.
Setup
- Install a fresh copy of Fedora.
- Ensure
e2fsprogs
is installed:dnf install e2fsprogs
. - Prepare a spare storage device or a disk image for testing.
How to test
- Create an ext4 file system:
mkfs.ext4 /path/to/device_or_image
. - Check the file system:
e2fsck /path/to/device_or_image
. - Adjust filesystem parameters using
tune2fs
.
Expected Results
- Filesystem creation should succeed without errors.
- Filesystem check should report the file system is clean.
- Adjustments with
tune2fs
should be applied without issues.
Optional
1. Repeat tests for ext2 and ext3 file systems.
2. Use other utilities from the e2fsprogs
package.