From 5d13ccaf55aed74b8e2d778c064c544e6300e0a5 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 23 Apr 2009 11:11:35 +0100 Subject: [PATCH] Fix Java tests by passing correct library path to JVM. --- java/run-java-test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java/run-java-test b/java/run-java-test index fb41b79..905360d 100755 --- a/java/run-java-test +++ b/java/run-java-test @@ -16,5 +16,6 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -cmd=$(echo $1 | sed -e 's,./t/,,' -e 's,.class,,') -$JAVA $cmd +cmd=$(echo $1 | sed -e 's,^./t/,,' -e 's,.class$,,') + +$JAVA -Djava.library.path=.libs $cmd -- 1.8.3.1