aboutsummaryrefslogtreecommitdiff
path: root/cli-tests/t_not_enabled.sh
AgeCommit message (Collapse)Author
2020-05-09filesystem: improve errorsEric Biggers
Introduce filesystem.ErrEncryptionNotEnabled and filesystem.ErrEncryptionNotSupported which include the Mount as context, and translate the corresponding metadata/ errors into them. Then make these errors show much better suggestions. Also replace lots of other filesystem/ errors with either custom types or with unnamed one-off errors that include more context. Fix backwards wrapping in lots of cases. Finally, don't include the mountpoint in places where it's not useful, like OS-level errors that already include the path.
2020-05-09cli-tests: add t_not_enabledEric Biggers
Test that fscrypt fails when the filesystem doesn't have the encrypt feature enabled. Then test enabling it.