mei_rt2_fix_1
Last change
on this file since d34f7ef was
91ecdfa,
checked in by Mei <mei@…>, 12 years ago
|
1) fixed the java's LD_LIBRARY_PATH
2) move the inserting of id_credential into abac_id's constructor
instead of _load_id (some of the verification got jump over)
3) found couple of inconsistency -- sha changed when cert got
moved in and out of filesystem - trailing it.
|
-
Property mode set to
100755
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | if [ "$LD_LIBRARY_PATH" = "" ] ; then |
---|
4 | export LD_LIBRARY_PATH=.:/usr/local/lib |
---|
5 | else |
---|
6 | export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH |
---|
7 | fi |
---|
8 | |
---|
9 | |
---|
10 | if [ "$JAVA_HOME" = "" ] ; then |
---|
11 | if [ -d "/usr/lib/jvm/java-6-openjdk" ]; then |
---|
12 | export JAVA_HOME=/usr/lib/jvm/java-6-openjdk |
---|
13 | elif [ -d "/usr/local/openjdk6" ]; then |
---|
14 | export JAVA_HOME=/usr/local/openjdk6 |
---|
15 | fi |
---|
16 | fi |
---|
17 | |
---|
18 | make -s clean |
---|
19 | |
---|
20 | using_java=`grep "^JAVA=" ../../../config.log|sed 's/JAVA=//'` |
---|
21 | if [ "$using_java" = "''" -o "$using_java" = "" ]; then |
---|
22 | ## Could not test without java, but return pass to make check goes through |
---|
23 | echo '---running (java) attr script' |
---|
24 | echo " PASSED" |
---|
25 | echo '---running (java) prover script' |
---|
26 | echo " PASSED" |
---|
27 | exit 0 |
---|
28 | fi |
---|
29 | |
---|
30 | echo '---running (java) attr script' |
---|
31 | make run_attr 1>/dev/null 2>& 1 |
---|
32 | result=`grep "prover success" attr.log 2>/dev/null` |
---|
33 | if [ "$result" = "" ]; then |
---|
34 | echo " ERROR" |
---|
35 | else |
---|
36 | echo " PASSED" |
---|
37 | fi |
---|
38 | |
---|
39 | echo '---running (java) prover script' |
---|
40 | make run_prove 1>/dev/null 2>& 1 |
---|
41 | result=`grep "prover success" prover.log 2>/dev/null` |
---|
42 | if [ "$result" = "" ]; then |
---|
43 | echo " ERROR" |
---|
44 | else |
---|
45 | echo " PASSED" |
---|
46 | fi |
---|
47 | |
---|
Note: See
TracBrowser
for help on using the repository browser.