Searched refs:expected_digest (Results 1 – 5 of 5) sorted by relevance
127 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())
107 local digest expected_digest algorithm130 expected_digest="$(compute_digest $algorithm $state_file)" || \133 if [ "$digest" != "$expected_digest" ]; then134 tst_res TFAIL "digest mismatch: expected: $expected_digest, got: $digest"
24 local algorithm digest expected_digest found34 expected_digest=$(compute_digest $algorithm file1)36 if [ "$digest" = "$expected_digest" ]; then
79 local digest expected_digest algorithm87 if ! expected_digest="$(compute_digest $algorithm $test_file)"; then92 if [ "$digest" != "$expected_digest" ]; then
285 local algorithm digest expected_digest line tmp300 expected_digest="$(compute_digest $algorithm $test_file)" || \303 if [ "$digest" = "$expected_digest" ]; then