abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change
on this file since c0fd8bc was
14eea4a,
checked in by Mei <mei@…>, 12 years ago
|
1) update regression tests to work on bsd's 'test'/wc format
|
-
Property mode set to
100755
|
File size:
435 bytes
|
Rev | Line | |
---|
[be6cb41] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | rm -rf *.pem *.xml *.log *.out |
---|
| 4 | |
---|
| 5 | echo '---setup principals' |
---|
| 6 | ./setup.py 1>/dev/null 2>& 1 |
---|
| 7 | |
---|
| 8 | echo '---setup attributes' |
---|
| 9 | ./attr.py 1>rocket.log 2>& 1 |
---|
| 10 | |
---|
| 11 | echo '---run queries' |
---|
| 12 | env keystore=`pwd` ./query.py 1>rocket.out 2>& 1 |
---|
| 13 | |
---|
| 14 | good=`grep success rocket.out |wc -l` |
---|
| 15 | bad=`grep failure rocket.out |wc -l` |
---|
[14eea4a] | 16 | if [ $good -eq 3 -a $bad -eq 1 ]; then |
---|
[be6cb41] | 17 | echo " PASSED" |
---|
| 18 | else |
---|
| 19 | echo " ERROR:acme_rockets_rt0 test result differs!!!" |
---|
| 20 | fi |
---|
| 21 | |
---|
| 22 | |
---|
Note: See
TracBrowser
for help on using the repository browser.