abac0-leakabac0-meimei-idtvf-new-xml
Last change
on this file since d6d44fe was
ec550f7,
checked in by Mei <mei@…>, 11 years ago
|
1) reworked how API doc is generated
2) tweak top level Makefile.am
3) loading issuer principal as side-effect of loading
an attribute credentials
4) add examples of GENI specific attribute credentials
and principal certificates into the regression testing
5) rename examples to tests
|
-
Property mode set to
100755
|
File size:
695 bytes
|
Rev | Line | |
---|
[7e3f5e2] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | noise=$1 |
---|
| 5 | |
---|
| 6 | if [ -z "$noise" ]; then |
---|
| 7 | exit |
---|
| 8 | fi |
---|
| 9 | |
---|
| 10 | echo "---running haystack fruit_python $noise scaling" |
---|
| 11 | |
---|
| 12 | rm -rf fruit_$noise |
---|
| 13 | mkdir fruit_$noise |
---|
| 14 | sed "s/#VAL#/$noise/" base/SETUP.py > fruit_$noise/setup.py |
---|
| 15 | sed "s/#VAL#/$noise/" base/QUERY.py > fruit_$noise/query.py |
---|
| 16 | sed "s/#VAL#/$noise/" base/ATTR.py > fruit_$noise/attr.py |
---|
| 17 | cp base/RESULT fruit_$noise/fruit.save |
---|
| 18 | |
---|
| 19 | cd fruit_$noise |
---|
| 20 | chmod +x setup.py attr.py query.py |
---|
| 21 | ./setup.py 1>/dev/null 2>& 1 |
---|
| 22 | env keystore=`pwd` ./attr.py 1> attr.log 2>& 1 |
---|
| 23 | env keystore=`pwd` ABAC_CN=1 ./query.py 1>fruit.tmp 2> fruit.time |
---|
| 24 | result=`diff fruit.tmp fruit.save 2>/dev/null` |
---|
| 25 | if [ "$result" = "" ]; then |
---|
| 26 | echo " PASSED" |
---|
| 27 | else |
---|
| 28 | echo " ERROR" |
---|
| 29 | fi |
---|
| 30 | |
---|
| 31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.