From Fedora Project Wiki

Description

This test case ensures the basic functionalities of e2fsprogs work correctly on ext2/ext3/ext4 file systems.

Setup

  1. Install a fresh copy of Fedora.
  2. Ensure e2fsprogs is installed: dnf install e2fsprogs.
  3. Prepare a spare storage device or a disk image for testing.

How to test

  1. Create an ext4 file system: mkfs.ext4 /path/to/device_or_image.
  2. Check the file system: e2fsck /path/to/device_or_image.
  3. Adjust filesystem parameters using tune2fs.

Expected Results

  1. Filesystem creation should succeed without errors.
  2. Filesystem check should report the file system is clean.
  3. 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.