Skip to content

Conversation

@thaJeztah
Copy link
Member

See individual commits for details

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors and improves the MountOpt tests in the opts package. The changes consolidate multiple small test functions into well-organized table-driven tests, improve test coverage, and make the test suite easier to maintain.

Changes:

  • Consolidated error tests into a single TestMountOptErrors function with comprehensive test cases
  • Refactored readonly and volume-nocopy tests into table-driven formats with expanded coverage
  • Added comprehensive TestMountOptVolumeOptions test covering volume labels, drivers, and options
  • Renamed TestMountOptSetBindNoErrorBind to TestMountOptSourceTargetAliases for clarity
  • Removed duplicate TestMountOptSetVolumeNoError (aliases are mount-type agnostic)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
…test

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Setting the source and target paths is not tied to the mount-type,
so these tests where covering the same code.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah force-pushed the improve_mountopts_tests branch from a6e8f7d to 77e02a9 Compare February 1, 2026 14:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@thaJeztah thaJeztah requested review from robmry and vvoland February 1, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants