mei_rt2mei_rt2_fix_1
Last change
on this file since 5110d42 was
5110d42,
checked in by Mei <mei@…>, 12 years ago
|
1) reorganized the test directory to include python tests
2) attribute via api and principal via api from python scripts is
working (although there is a annoying seg fault at the very end
that must be related to something not been dup()ed.. need to wait
for c example to debug it)
3) able to query via api
4) replicated access_rt2 example in python and the query result matches
5) expanded api to make it easier to generate rt2 structure
|
-
Property mode set to
100755
|
File size:
408 bytes
|
Rev | Line | |
---|
[5110d42] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | rm -rf allout.cn allout.sha |
---|
| 4 | |
---|
| 5 | ABAC_PROVER_PATH="/home/mei/Deter/abac/libabac" |
---|
| 6 | export ABAC_PROVER_PATH |
---|
| 7 | |
---|
| 8 | echo 'running ABAC testing...' |
---|
| 9 | echo ' ---with sha' |
---|
| 10 | env ./runall run 1> allout.sha 2>/dev/null |
---|
| 11 | echo ' ---with cn' |
---|
| 12 | env ABAC_CN=1 ./runall run 1> allout.cn 2>/dev/null |
---|
| 13 | result=`diff allout.cn allout.save` |
---|
| 14 | |
---|
| 15 | if [ "$result" = "" ]; then |
---|
| 16 | echo " PASSED" |
---|
| 17 | else |
---|
| 18 | echo " ERROR:got changes!!!" |
---|
| 19 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.