commit:     7bf40172be33bdc065a2dfbd85838cf39f0eda51
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 10 21:08:03 2017 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Fri Feb 10 21:08:03 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bf40172

app-crypt/rhash: Fix tests to use the newly built library

It was using the installed copy and breaking for new installs.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-crypt/rhash/rhash-1.3.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-crypt/rhash/rhash-1.3.4.ebuild 
b/app-crypt/rhash/rhash-1.3.4.ebuild
index cd33ea8d75..b10475a3a1 100644
--- a/app-crypt/rhash/rhash-1.3.4.ebuild
+++ b/app-crypt/rhash/rhash-1.3.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -63,5 +63,5 @@ multilib_src_install_all() {
 
 multilib_src_test() {
        cd tests || die
-       ./test_rhash.sh --full ../rhash_shared || die "tests failed"
+       LD_LIBRARY_PATH=$(pwd)/../librhash ./test_rhash.sh --full 
../rhash_shared || die "tests failed"
 }

Reply via email to