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: v17.2.6~188^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3f1072e228728f690cf392bf621924dc04c00faa;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 2fec7c80d66..207dcb01b7f 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 }