Home
last modified time | relevance | path

Searched refs:expected_digest (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/freetype/tests/scripts/
Ddownload-test-fonts.py127 def download_file(url: str, expected_digest: Optional[bytes] = None):
139 if expected_digest is not None:
141 if digest != expected_digest:
144 % (url, digest.hex(), expected_digest.hex())
154 expected_digest: Optional[bytes] = None,
172 if expected_digest is not None:
174 if digest != expected_digest:
177 % (filepath, archive_name, digest.hex(), expected_digest.hex())
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_selinux.sh107 local digest expected_digest algorithm
130 expected_digest="$(compute_digest $algorithm $state_file)" || \
133 if [ "$digest" != "$expected_digest" ]; then
134 tst_res TFAIL "digest mismatch: expected: $expected_digest, got: $digest"
Dima_kexec.sh24 local algorithm digest expected_digest found
34 expected_digest=$(compute_digest $algorithm file1)
36 if [ "$digest" = "$expected_digest" ]; then
Dima_keys.sh79 local digest expected_digest algorithm
87 if ! expected_digest="$(compute_digest $algorithm $test_file)"; then
92 if [ "$digest" != "$expected_digest" ]; then
Dima_setup.sh285 local algorithm digest expected_digest line tmp
300 expected_digest="$(compute_digest $algorithm $test_file)" || \
303 if [ "$digest" = "$expected_digest" ]; then