app-crypt/rhash: Fix tests to use the newly built library
authorJames Le Cuirot <chewi@gentoo.org>
Fri, 10 Feb 2017 21:08:03 +0000 (21:08 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Fri, 10 Feb 2017 21:08:03 +0000 (21:08 +0000)
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

index cd33ea8d75a7b41b4865caacd0c7dc95fe7d158e..b10475a3a1d8d51e0913a01a4790e58f484b0e9e 100644 (file)
@@ -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"
 }