mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
ci/piglit: Allow traces content-type to be binary/octet-stream
This seems to be the case for some traces like https://s3.freedesktop.org/mesa-tracie-results/mesa/mesa/0e6cc731faf4f2d6c1765f369535ce0d.png Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36511>
This commit is contained in:
parent
3020d27326
commit
a29b9e47b0
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ replay_s3_upload_images() {
|
|||
fi
|
||||
__S3_PATH="$PIGLIT_REPLAY_REFERENCE_IMAGES_BASE"
|
||||
__DESTINATION_FILE_PATH="${line##*-}"
|
||||
if curl --fail -L -s -I "https://${__S3_PATH}/${__DESTINATION_FILE_PATH}" | grep -q "content-type: application/octet-stream" 2>/dev/null; then
|
||||
if curl --fail -L -s -I "https://${__S3_PATH}/${__DESTINATION_FILE_PATH}" | grep -Eq "^content-type: (binary|application)\/octet-stream" 2>/dev/null; then
|
||||
continue
|
||||
fi
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue