# step: The HTTP differential outside the corpus (wai-rs against http_verify.py) # order: 60 # features: http,video_manifest,key_discovery # # Outside the corpus: wai_http_vectors fuzz writes seeded cases (Content-Range values, # codecs values, #WAI-LAYER lines, manifests and their member types, encryption, # refines, layers declared against their bases, layers over WAI2 components, objects # past the first request through a tampering origin; playlists, adjacent pairs, # published masters, renderings, adaptation states, the integer log and changed # receipt files; receipt files, indexes, grants files and key logs of §8.1–§8.5, # whose cases need the `cryptography` package installed above) with wai-rs's # outcomes, and # http_verify.py must give every one, a refusal by the same code. It prints each # family's count of cases and of refusals. Two fixed seeds, so a run is reproducible. set -euo pipefail for seed in 11 12; do "$RUNNER_TEMP/wai-bins/union/wai_http_vectors" fuzz http-conformance --seed "$seed" --count 400 --out "$RUNNER_TEMP/http-fuzz-$seed.json" python3 http-conformance/http_verify.py cases "$RUNNER_TEMP/http-fuzz-$seed.json" http-conformance done