diff options
| author | Joseph Richey <joerichey@google.com> | 2022-08-18 19:06:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-18 19:06:15 -0700 |
| commit | a1ddf6e09af39320fee969f52d36ae0f2ca94d83 (patch) | |
| tree | be8cf4ab980e46b18316eb5f90677926ea83bedb /cli-tests/t_v1_policy_fs_keyring.sh | |
| parent | f0c1cae003dd216ba706d7ef14df83d311c82034 (diff) | |
| parent | afad6a1e0521e52dfaffe937ecab2515a76b8134 (diff) | |
Merge pull request #362 from google/fix-cli-tests-2
cli-tests: account for protojson whitespace randomization
Diffstat (limited to 'cli-tests/t_v1_policy_fs_keyring.sh')
| -rwxr-xr-x | cli-tests/t_v1_policy_fs_keyring.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli-tests/t_v1_policy_fs_keyring.sh b/cli-tests/t_v1_policy_fs_keyring.sh index bf1191a..a8fd333 100755 --- a/cli-tests/t_v1_policy_fs_keyring.sh +++ b/cli-tests/t_v1_policy_fs_keyring.sh @@ -10,8 +10,8 @@ cd "$(dirname "$0")" . common.sh _print_header "Enable v1 policies with fs keyring" -sed -e 's/"use_fs_keyring_for_v1_policies": false/"use_fs_keyring_for_v1_policies": true/' \ - -e 's/"policy_version": "2"/"policy_version": "1"/' \ +sed -E -e 's/"use_fs_keyring_for_v1_policies": +false/"use_fs_keyring_for_v1_policies": true/' \ + -e 's/"policy_version": +"2"/"policy_version": "1"/' \ -i "$FSCRYPT_CONF" dir="$MNT/dir" |