From b60ffd4286d874cc61b892ac14c76ea2b14dc6cb Mon Sep 17 00:00:00 2001
From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Wed, 20 Nov 2019 09:57:42 +0100
Subject: [PATCH] eclass/tests/git-r3.sh: Partially fix and disable
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

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

Signed-off-by: Michał Górny <mgorny@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 6ff6226c0aa6..2f452bfd68a8 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 d52cf3a2687b..674eaa02cdc9 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() { :; }
-- 
2.26.2