]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rados: specify redirect in curl command 49139/head
authorLaura Flores <lflores@redhat.com>
Fri, 18 Nov 2022 00:31:59 +0000 (00:31 +0000)
committerLaura Flores <lflores@redhat.com>
Tue, 29 Nov 2022 19:05:05 +0000 (13:05 -0600)
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 <lflores@redhat.com>
(cherry picked from commit bf30531f0119aa79334891318882ed2fb005fc2f)

qa/workunits/rados/test_librados_build.sh

index fbd7b0784a68013abe24201f998a911a8abf5899..002f2b84015f2f1b76358e40e118c6d43376a31b 100755 (executable)
@@ -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
 }