From: Laura Flores Date: Fri, 18 Nov 2022 00:31:59 +0000 (+0000) Subject: qa/workunits/rados: specify redirect in curl command X-Git-Tag: v16.2.11~74^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F49139%2Fhead;p=ceph.git qa/workunits/rados: specify redirect in curl command This workunit currently grabs files in html form, since there is a redirect that occurs. If we specify `-L` in the curl command, it handles redirects and graps the files appropriately. Fixes: https://tracker.ceph.com/issues/58046 Signed-off-by: Laura Flores (cherry picked from commit bf30531f0119aa79334891318882ed2fb005fc2f) --- diff --git a/qa/workunits/rados/test_librados_build.sh b/qa/workunits/rados/test_librados_build.sh index fbd7b0784a68..002f2b84015f 100755 --- a/qa/workunits/rados/test_librados_build.sh +++ b/qa/workunits/rados/test_librados_build.sh @@ -44,7 +44,7 @@ function cleanup () { function get_sources () { for s in $SOURCES ; do - curl --progress-bar --output $s ${DL_PREFIX}$s + curl --progress-bar --output $s -L ${DL_PREFIX}$s done }