git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d660085
)
Fix Java tests by passing correct library path to JVM.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 23 Apr 2009 10:11:35 +0000
(11:11 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 23 Apr 2009 10:11:35 +0000
(11:11 +0100)
java/run-java-test
patch
|
blob
|
history
diff --git
a/java/run-java-test
b/java/run-java-test
index
fb41b79
..
905360d
100755
(executable)
--- 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