]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rados: specify redirect in curl command 48938/head
authorLaura Flores <lflores@redhat.com>
Fri, 18 Nov 2022 00:31:59 +0000 (00:31 +0000)
committerLaura Flores <lflores@redhat.com>
Fri, 18 Nov 2022 00:31:59 +0000 (00:31 +0000)
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>
qa/workunits/rados/test_librados_build.sh

index 3463c47dcdbd53c6ed38a42dee64c295fd2e5029..14e33251568a8e09f03925ae89318bca246d6688 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
 }