mei_rt2
Last change
on this file since d0efdec was
2e9455f,
checked in by Mei <mei@…>, 11 years ago
|
1) added namespace
2) tweak ?This,
3) allowing linking role/oset as constraining conditions
4) adding access_tests regression testing that uses GENI's access policy
5) added couple multi contexts regression tests
6) add compression/uncompression calls to abac_encode_string/abac_decode_string
(libstrongwan only allows 512 char for attribute rule storage)
7) add attribute_now option to creddy that takes a whole char string for attribute
rule
|
-
Property mode set to
100755
|
File size:
1.2 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 setup 1>/dev/null 2>&1 |
---|
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 | ./run_attr >attr.log 2>&1 |
---|
32 | #make run_attr 1>/dev/null 2>& 1 |
---|
33 | result=`grep "prover success" attr.log 2>/dev/null` |
---|
34 | if [ "$result" = "" ]; then |
---|
35 | echo " ERROR" |
---|
36 | else |
---|
37 | echo " PASSED" |
---|
38 | fi |
---|
39 | |
---|
40 | echo '---running (java) prover script' |
---|
41 | ./run_prover 1> prover.log 2>&1 |
---|
42 | #make run_prove 1>/dev/null 2>& 1 |
---|
43 | result=`grep "prover success" prover.log 2>/dev/null` |
---|
44 | if [ "$result" = "" ]; then |
---|
45 | echo " ERROR" |
---|
46 | else |
---|
47 | echo " PASSED" |
---|
48 | fi |
---|
49 | |
---|
Note: See
TracBrowser
for help on using the repository browser.