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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user