aboutsummaryrefslogtreecommitdiff
path: root/cli-tests/t_v1_policy_fs_keyring.sh
AgeCommit message (Collapse)Author
2022-08-17cli-tests: account for protojson whitespace randomizationEric Biggers
Annoyingly, for JSON formatting protojson randomly selects a spacing method (one space or two spaces) depending on a hash of some sections of the Go binary, to discourage depending on its output being stable. This breaks some checks in the CLI tests of the contents of fscrypt.conf and the output of 'fscrypt status'. As there doesn't appear to be a straightforward alternative currently, for now just update the tests to take into consideration the possible extra space.
2020-05-09cli-tests: add t_v1_policy_fs_keyringEric Biggers
Test using v1 encryption policies (deprecated) with use_fs_keyring_for_v1_policies = true.