source: examples/runcheck @ 01ab2b1

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