mei_rt2mei_rt2_fix_1rt2
Last change
on this file since 01ab2b1 was
ab30fdd,
checked in by Mei <mei@…>, 13 years ago
|
1) add a missing query file
2) tweak some doc files
|
-
Property mode set to
100755
|
File size:
679 bytes
|
Rev | Line | |
---|
[f0eb81d] | 1 | #!/bin/sh |
---|
| 2 | |
---|
[302f477] | 3 | rm -rf allout.cn allout.sha |
---|
[f0eb81d] | 4 | |
---|
[ab30fdd] | 5 | echo '---one run-------' |
---|
| 6 | env ./runall run > allout.sha |
---|
| 7 | echo '---another run-------' |
---|
| 8 | env ABAC_CN=1 ./runall run > allout.cn |
---|
[302f477] | 9 | result=`diff allout.cn allout.save` |
---|
[ab30fdd] | 10 | echo '----------' |
---|
[f0eb81d] | 11 | |
---|
| 12 | if [ "$result" = "" ]; then |
---|
| 13 | echo "...no changes..." |
---|
| 14 | else |
---|
| 15 | echo "!!!got changes!!!" |
---|
| 16 | fi |
---|
[ab30fdd] | 17 | echo '----------' |
---|
| 18 | echo " " |
---|
[302f477] | 19 | |
---|
| 20 | ## special case, run a python in one of the directory |
---|
| 21 | echo "...special python test on access_rt2_typed..." |
---|
| 22 | cd access_rt2_typed |
---|
| 23 | cmd1=`grep "cmd1:" query.py |sed "s/cmd1://g" ` |
---|
| 24 | cmd2=`grep "cmd2:" query.py |sed "s/cmd2://g" ` |
---|
| 25 | |
---|
| 26 | echo '----------' |
---|
| 27 | echo $cmd1 |
---|
| 28 | echo '----------' |
---|
| 29 | eval $cmd1 |
---|
| 30 | echo '----------' |
---|
| 31 | echo $cmd2 |
---|
| 32 | echo '----------' |
---|
| 33 | eval $cmd2 |
---|
Note: See
TracBrowser
for help on using the repository browser.