Skip to content

add tests for error paths, option coverage, and fix existing test bugs#348

Merged
h4sh5 merged 1 commit into
libfuse:masterfrom
abhinavagarwal07:add-tests-round-2
May 17, 2026
Merged

add tests for error paths, option coverage, and fix existing test bugs#348
h4sh5 merged 1 commit into
libfuse:masterfrom
abhinavagarwal07:add-tests-round-2

Conversation

@abhinavagarwal07
Copy link
Copy Markdown
Collaborator

  • Fix tst_open_unlink: errno assertion was dead code (inside pytest.raises block)
  • Fix tst_passthrough: mnt_name pointed to src_dir, making stat comparison a no-op
  • Add tst_open_writeonly_read, tst_access, tst_mkdir_exist, tst_readdir_repeated, tst_rename_sibling
  • Strengthen existing tests: listdir checks on rename, truncate-to-zero, symlink cleanup, nlink after hardlink removal
  • Add standalone tests for disable_hardlink, follow_symlinks, and direct_io mount options
  • Compare portable stat fields in tst_passthrough (avoids st_dev/st_ino mismatch across FUSE)

@abhinavagarwal07 abhinavagarwal07 requested a review from h4sh5 May 17, 2026 07:19
@h4sh5 h4sh5 merged commit d749988 into libfuse:master May 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants