source: examples/runcheck @ d7abe40

mei_rt2mei_rt2_fix_1meiyap-rt1rt2
Last change on this file since d7abe40 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
3rm -rf allout.cn allout.sha
4
5env runall run > allout.sha
6env ABAC_CN=1 runall run > allout.cn
7result=`diff allout.cn allout.save`
8
9if [ "$result" = "" ]; then
10   echo "...no changes..."
11else
12   echo "!!!got changes!!!"
13fi
14
15## special case, run a python in one of the directory
16echo "...special python test on access_rt2_typed..."
17cd access_rt2_typed
18cmd1=`grep "cmd1:" query.py |sed "s/cmd1://g" `
19cmd2=`grep "cmd2:" query.py |sed "s/cmd2://g" `
20
21echo '----------'
22echo $cmd1
23echo '----------'
24eval $cmd1
25echo '----------'
26echo $cmd2
27echo '----------'
28eval $cmd2
Note: See TracBrowser for help on using the repository browser.