mirror of
https://github.com/ceph/ceph
synced 2024-12-30 07:23:11 +00:00
b9f58baaa6
Signed-off-by: Sage Weil <sage@inktank.com>
20 lines
498 B
Bash
Executable File
20 lines
498 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
BASE=/tmp/cephtest
|
|
TLIB=binary/usr/local/share/java
|
|
|
|
echo "starting libcephfs-java tests"
|
|
|
|
export LD_LIBRARY_PATH=$BASE/$TLIB
|
|
command="java -DCEPH_CONF_FILE=$BASE/ceph.conf -Djava.library.path=$LD_LIBRARY_PATH -cp /usr/share/java/junit4.jar:$BASE/$TLIB/libcephfs.jar:$BASE/$TLIB/libcephfs-test.jar org.junit.runner.JUnitCore com.ceph.fs.CephAllTests"
|
|
|
|
echo "----------------------"
|
|
echo $command
|
|
echo "----------------------"
|
|
|
|
$command
|
|
|
|
echo "completed libcephfs-java tests"
|
|
|
|
exit 0
|