commit:     b60ffd4286d874cc61b892ac14c76ea2b14dc6cb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 20 08:57:42 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 20 08:57:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b60ffd42

eclass/tests/git-r3.sh: Partially fix and disable

The tests rely on ext: remote support which apparently no longer works.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/tests/git-r3.sh       | 7 ++++++-
 eclass/tests/tests-common.sh | 2 ++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/eclass/tests/git-r3.sh b/eclass/tests/git-r3.sh
index 6ff6226c0aa..2f452bfd68a 100755
--- a/eclass/tests/git-r3.sh
+++ b/eclass/tests/git-r3.sh
@@ -1,7 +1,12 @@
 #!/bin/bash
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# git no longer allows ext: protocol, meh
+exit 0
+
+EAPI=7
+
 source tests-common.sh
 
 inherit git-r3

diff --git a/eclass/tests/tests-common.sh b/eclass/tests/tests-common.sh
index d52cf3a2687..674eaa02cdc 100644
--- a/eclass/tests/tests-common.sh
+++ b/eclass/tests/tests-common.sh
@@ -103,3 +103,5 @@ PV="0"
 P="${PN}-${PV}"
 PF=${P}
 SLOT=0
+
+addwrite() { :; }

Reply via email to