Skip to content

Conversation

@Bert-Proesmans
Copy link

@Bert-Proesmans Bert-Proesmans commented Nov 5, 2025

Part of stacked pull requests to enable unmount testing. This is PR 4 out of 4. Stacks on top of #1149.

Only the last commit applies to this PR.
Adds missing testscript code to execute unmount scripts. With this change all test derivations of the Disko examples verify proper unmounting behaviour.

See #1140 for ealier discussion.

- Fix typo against full dataset path argument
- Make unmount with encryption keys idempotent
The value for device is copied into the SOURCE column of findmnt.
By default this is "none". The mount and unmount scripts
branch on SOURCE=fsType specifically, and the existence of "none"
in the SOURCE column causes wrong branches to be executed.
For a list of special filesystems, the default value "none"
is replaced by the value for fsType.
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.

1 participant