mei_rt2mei_rt2_fix_1
Last change
on this file since 20eaefe was
05acf45,
checked in by Mei <mei@…>, 12 years ago
|
1) make diff skip that "Restoring file" output line that appears when
yap is in malloc mode
|
-
Property mode set to
100755
|
File size:
719 bytes
|
Rev | Line | |
---|
[5f551d3] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | echo '---setup principals' |
---|
| 4 | env keystore=`pwd` ./setup.py 1>/dev/null 2>& 1 |
---|
| 5 | |
---|
| 6 | echo '---setup attributes' |
---|
[669b481] | 7 | env keystore=`pwd` ./attr.py 1>alumni2.log 2>& 1 |
---|
[5f551d3] | 8 | |
---|
| 9 | echo '---run queries' |
---|
| 10 | |
---|
| 11 | # Make prover queries |
---|
| 12 | g_cmd_sha=`grep "cmd1:" query.py |sed "s/cmd1://g" ` |
---|
| 13 | g_cmd_cn=`grep "cmd2:" query.py |sed "s/cmd2://g" ` |
---|
| 14 | |
---|
| 15 | echo '...with sha' |
---|
| 16 | eval $g_cmd_sha 2>/dev/null 1 > alumni2.sha |
---|
| 17 | |
---|
| 18 | echo '...with cn' |
---|
| 19 | eval $g_cmd_cn 1>alumni2.cn 2>&1 |
---|
| 20 | |
---|
[05acf45] | 21 | result=`diff -I "Restoring file" alumni2.cn alumni2.save 2>/dev/null` |
---|
[5f551d3] | 22 | if [ $? -eq 0 ]; then |
---|
| 23 | if [ "$result" = "" ]; then |
---|
| 24 | echo " PASSED" |
---|
| 25 | else |
---|
| 26 | echo " ERROR:alumni2_rt1 test result differs!!!" |
---|
| 27 | fi |
---|
| 28 | else |
---|
| 29 | echo " ERROR:alumni2_rt1 test result differs!!!" |
---|
| 30 | fi |
---|
| 31 | |
---|
| 32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.