]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: switch back to git protocol for qemu-xfstests
authorIlya Dryomov <idryomov@gmail.com>
Mon, 19 Dec 2022 17:54:08 +0000 (18:54 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 22 Dec 2022 12:10:02 +0000 (13:10 +0100)
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 <idryomov@gmail.com>
(cherry picked from commit 631899ffeb84686e5d6b9a271ec72b92a85417ea)

Conflicts:
qa/run_xfstests-obsolete.sh [ commit 89177d65988c ("qa: switch
  to https protocol for repos' server") not in pacific ]

qa/run_xfstests-obsolete.sh

index 4393c7c866c575c3c84e2db602c3fbc078fb9305..48afff879f53b920da04b89083cee8b6ae493549 100644 (file)
@@ -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}"
 }