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
RevLine 
[f0eb81d]1#!/bin/sh
2
[302f477]3rm -rf allout.cn allout.sha
[f0eb81d]4
[ab30fdd]5echo '---one run-------'
6env ./runall run > allout.sha
7echo '---another run-------'
8env ABAC_CN=1 ./runall run > allout.cn
[302f477]9result=`diff allout.cn allout.save`
[ab30fdd]10echo '----------'
[f0eb81d]11
12if [ "$result" = "" ]; then
13   echo "...no changes..."
14else
15   echo "!!!got changes!!!"
16fi
[ab30fdd]17echo '----------'
18echo "  "
[302f477]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.