mei_rt2mei_rt2_fix_1
Last change
on this file since 08b8da7 was
bea18ef,
checked in by Mei <mei@…>, 12 years ago
|
1) add more tiny prover tests in examples/example_scripts
2) reverted the changes to ABAC_VERSION in libabac's abac_util.c
|
-
Property mode set to
100755
|
File size:
1.0 KB
|
Rev | Line | |
---|
[ba6027a] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | echo '---running (python) attr script' |
---|
| 4 | make run_attr 1>/dev/null 2>& 1 |
---|
| 5 | result=`grep succeed attr.log 2>/dev/null` |
---|
| 6 | if [ "$result" = "" ]; then |
---|
| 7 | echo " ERROR" |
---|
| 8 | else |
---|
| 9 | echo " PASSED" |
---|
| 10 | fi |
---|
| 11 | |
---|
| 12 | echo '---running (python) encrypted key attr script' |
---|
| 13 | make run_e_attr 1>/dev/null 2>& 1 |
---|
| 14 | result=`grep succeed e_attr.log 2>/dev/null` |
---|
| 15 | if [ "$result" = "" ]; then |
---|
| 16 | echo " ERROR" |
---|
| 17 | else |
---|
| 18 | echo " PASSED" |
---|
| 19 | fi |
---|
| 20 | |
---|
| 21 | echo '---running (python) id script' |
---|
| 22 | make run_id 1>/dev/null 2>& 1 |
---|
| 23 | result=`grep IceCream_ID.pem id.log 2>/dev/null` |
---|
| 24 | if [ "$result" = "" ]; then |
---|
| 25 | echo " ERROR" |
---|
| 26 | else |
---|
| 27 | echo " PASSED" |
---|
| 28 | fi |
---|
| 29 | |
---|
| 30 | echo '---running (python) id script, expect failure' |
---|
| 31 | make run_id2 1>/dev/null 2>& 1 |
---|
| 32 | result=`grep "Id creation from filename failed" id2.log 2>/dev/null` |
---|
| 33 | if [ "$result" = "" ]; then |
---|
| 34 | echo " ERROR" |
---|
| 35 | else |
---|
| 36 | echo " PASSED" |
---|
| 37 | fi |
---|
[bea18ef] | 38 | |
---|
| 39 | |
---|
| 40 | echo '---running (python) prover script' |
---|
| 41 | make run_prove 1>/dev/null 2>& 1 |
---|
| 42 | result=`grep "YAP query succeed" prover.log 2>/dev/null` |
---|
| 43 | if [ "$result" = "" ]; then |
---|
| 44 | echo " ERROR" |
---|
| 45 | else |
---|
| 46 | echo " PASSED" |
---|
| 47 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.