diff options
author | Zac Medico <zmedico@gentoo.org> | 2019-06-09 17:38:35 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2019-06-09 17:39:39 -0700 |
commit | 6b9f5ce91a128f60ab46db5a6681731bde172d20 (patch) | |
tree | 3818912dffb7a1b379811fbb09fac38bd7d82337 /app-admin/consul-replicate | |
parent | app-emulation/containers-storage: Bump to version 1.12.10 (diff) | |
download | gentoo-6b9f5ce91a128f60ab46db5a6681731bde172d20.tar.gz gentoo-6b9f5ce91a128f60ab46db5a6681731bde172d20.tar.bz2 gentoo-6b9f5ce91a128f60ab46db5a6681731bde172d20.zip |
app-admin/consul-replicate: fix tests bug 687646
Reported-by: Toralf Förster <toralf@gentoo.org>
Closes: https://bugs.gentoo.org/687646
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-admin/consul-replicate')
-rw-r--r-- | app-admin/consul-replicate/consul-replicate-0.2.0.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app-admin/consul-replicate/consul-replicate-0.2.0.ebuild b/app-admin/consul-replicate/consul-replicate-0.2.0.ebuild index 0b1176db1d8e..6696574acddb 100644 --- a/app-admin/consul-replicate/consul-replicate-0.2.0.ebuild +++ b/app-admin/consul-replicate/consul-replicate-0.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -73,6 +73,11 @@ src_prepare() { done < <(find "${WORKDIR}/src" -maxdepth 3 -mindepth 3 -type d -print0) sed -e 's:TestParseConfig_parseFileError(:_\0:' -i config_test.go || die + + sed -e 's|t.Errorf("expected %q to be %q", config.Prefixes, expected)|t.Errorf("expected %v to be %v", config.Prefixes, expected)|' \ + -e 's|t.Errorf("expected %q to be %q", config.Prefixes\[0\], expected)|t.Errorf("expected %v to be %v", config.Prefixes[0], expected)|' \ + -e 's|t.Errorf("expected %q to be %q", value.Data, data)|t.Errorf("expected %v to be %v", value.Data, data)|' \ + -i cli_test.go runner_test.go || die } src_compile() { |