From: Ilya Dryomov Date: Mon, 19 Dec 2022 17:54:08 +0000 (+0100) Subject: qa: switch back to git protocol for qemu-xfstests X-Git-Tag: v16.2.11~35^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e289c516ce5fd966a5437004d1fd2546441c0f5c;p=ceph.git qa: switch back to git protocol for qemu-xfstests As noted in commit 89177d65988c ("qa: switch to https protocol for repos' server"), git.ceph.com mirror doesn't make git:// available anymore. However, run_xfstests-obsolete.sh has "obsolete" in its name for a reason -- due to an ancient execution environment, git:// is the only viable option: $ git clone https://git.ceph.com/xfstests-dev.git Cloning into 'xfstests-dev'... error: gnutls_handshake() failed: A TLS fatal alert has been received. while accessing https://git.ceph.com/xfstests-dev.git/info/refs fatal: HTTP request failed Ditch git.ceph.com mirror for now. Signed-off-by: Ilya Dryomov (cherry picked from commit 631899ffeb84686e5d6b9a271ec72b92a85417ea) Conflicts: qa/run_xfstests-obsolete.sh [ commit 89177d65988c ("qa: switch to https protocol for repos' server") not in pacific ] --- diff --git a/qa/run_xfstests-obsolete.sh b/qa/run_xfstests-obsolete.sh index 4393c7c866c57..48afff879f53b 100644 --- a/qa/run_xfstests-obsolete.sh +++ b/qa/run_xfstests-obsolete.sh @@ -33,7 +33,7 @@ PROGNAME=$(basename $0) # xfstests is downloaded from this git repository and then built. # XFSTESTS_REPO="git://oss.sgi.com/xfs/cmds/xfstests.git" -XFSTESTS_REPO="git://git.ceph.com/xfstests.git" +XFSTESTS_REPO="git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git" # Default command line option values COUNT="1" @@ -277,7 +277,7 @@ function install_xfstests() { git clone "${XFSTESTS_REPO}" - cd xfstests + cd xfstests-dev # FIXME: use an older version before the tests were rearranged! git reset --hard e5f1a13792f20cfac097fef98007610b422f2cac @@ -296,7 +296,7 @@ function install_xfstests() { function remove_xfstests() { arg_count 0 $# - rm -rf "${TESTDIR}/xfstests" + rm -rf "${TESTDIR}/xfstests-dev" rm -rf "${XFSTESTS_DIR}" }