mei_rt2mei_rt2_fix_1meiyap-rt1rt2
Last change
on this file since c54be67 was
302f477,
checked in by Mei <mei@…>, 13 years ago
|
1) insert a ABAC query using python into examples directory
(added to be part of runcheck)
2) tweak doc alittle bit more
|
-
Property mode set to
100755
|
File size:
575 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | rm -rf allout.cn allout.sha |
---|
4 | |
---|
5 | env runall run > allout.sha |
---|
6 | env ABAC_CN=1 runall run > allout.cn |
---|
7 | result=`diff allout.cn allout.save` |
---|
8 | |
---|
9 | if [ "$result" = "" ]; then |
---|
10 | echo "...no changes..." |
---|
11 | else |
---|
12 | echo "!!!got changes!!!" |
---|
13 | fi |
---|
14 | |
---|
15 | ## special case, run a python in one of the directory |
---|
16 | echo "...special python test on access_rt2_typed..." |
---|
17 | cd access_rt2_typed |
---|
18 | cmd1=`grep "cmd1:" query.py |sed "s/cmd1://g" ` |
---|
19 | cmd2=`grep "cmd2:" query.py |sed "s/cmd2://g" ` |
---|
20 | |
---|
21 | echo '----------' |
---|
22 | echo $cmd1 |
---|
23 | echo '----------' |
---|
24 | eval $cmd1 |
---|
25 | echo '----------' |
---|
26 | echo $cmd2 |
---|
27 | echo '----------' |
---|
28 | eval $cmd2 |
---|
Note: See
TracBrowser
for help on using the repository browser.