abac0-leakabac0-mei
Last change
on this file since 6cd69a0 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:
563 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | |
---|
4 | noise=$1 |
---|
5 | |
---|
6 | if [ -z "$noise" ]; then |
---|
7 | exit |
---|
8 | fi |
---|
9 | |
---|
10 | echo "---running haystack fruit_prover $noise scaling" |
---|
11 | |
---|
12 | rm -rf fruit_$noise |
---|
13 | mkdir fruit_$noise |
---|
14 | |
---|
15 | sed "s/#VAL#/$noise/" base/README > fruit_$noise/README |
---|
16 | sed "s/#VAL#/$noise/" base/QUERY > fruit_$noise/run_query |
---|
17 | cp base/RESULT fruit_$noise/fruit.save |
---|
18 | cd fruit_$noise |
---|
19 | chmod +x README run_query |
---|
20 | ./README 1>/dev/null 2>&1 |
---|
21 | time env ABAC_CN=1 ./run_query 1>fruit.tmp 2> fruit.time |
---|
22 | result=`diff fruit.tmp fruit.save 2>/dev/null` |
---|
23 | if [ "$result" = "" ]; then |
---|
24 | echo " PASSED" |
---|
25 | else |
---|
26 | echo " ERROR" |
---|
27 | fi |
---|
28 | |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.