From Fedora Project Wiki

Description

This test case aims to verify that FUSE (Filesystem in Userspace) is working as expected on a Fedora system.

Setup

  1. Make sure fuse is installed: sudo dnf install fuse.
  2. Make sure you have a non-root user to test FUSE operations.

How to test

  1. Open a terminal and switch to a non-root user if you're not already one.
  2. Create a new directory to serve as a mount point, for example: mkdir ~/my-fuse-mount.
  3. Use the fusermount utility to mount a FUSE filesystem. For testing, you can use a simple loopback FUSE filesystem like bindfs. First, install it with sudo dnf install bindfs, then run: bindfs ~/some-folder ~/my-fuse-mount.
  4. Check the mounted directory with ls ~/my-fuse-mount.
  5. Create a new file inside the mounted directory: touch ~/my-fuse-mount/new-file.
  6. Unmount the filesystem: fusermount -u ~/my-fuse-mount.
  7. Ensure that the directory is unmounted by running ls ~/my-fuse-mount.

Expected Results

  1. You should be able to successfully mount a FUSE filesystem.
  2. Listing the mounted directory should show the contents of the folder you have loopback-mounted.
  3. You should be able to create a new file in the mounted directory.
  4. The fusermount -u command should unmount the filesystem successfully.
  5. After unmounting, the directory should be empty or return to its original state.

Optional

  1. Test with other FUSE-based filesystems like sshfs or ntfs-3g.