mei_rt2mei_rt2_fix_1
Last change
on this file since d6ff6f1 was
f824a9e,
checked in by Mei <mei@…>, 12 years ago
|
1) add more doc to python_tests
|
-
Property mode set to
100755
|
File size:
603 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | rm -rf allout.cn allout.sha |
---|
4 | |
---|
5 | UID=`id | sed -e 's/ .*//' | sed -e 's/.*(//' | sed -e 's/)//'` |
---|
6 | if [ $UID = "mei" ]; then |
---|
7 | ABAC_PROVER_PATH="../../../libabac" |
---|
8 | else |
---|
9 | ABAC_PROVER_PATH=`which abac_prover_yap | sed 's/\/abac_prover_yap//'` |
---|
10 | fi |
---|
11 | export ABAC_PROVER_PATH |
---|
12 | |
---|
13 | echo 'running libabac CREDDY/ABAC_PROVER_YAP testing...' |
---|
14 | echo ' ---with sha' |
---|
15 | env ./runall run 1> allout.sha 2>/dev/null |
---|
16 | echo ' ---with cn' |
---|
17 | env ABAC_CN=1 ./runall run 1> allout.cn 2>/dev/null |
---|
18 | result=`diff allout.cn allout.save` |
---|
19 | |
---|
20 | if [ "$result" = "" ]; then |
---|
21 | echo " PASSED" |
---|
22 | else |
---|
23 | echo " ERROR:got changes!!!" |
---|
24 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.