mei_rt2mei_rt2_fix_1meiyap-rt1rt2
Last change
on this file since 7b548fa was
f0eb81d,
checked in by Mei <mei@…>, 13 years ago
|
1) modified example's runall so a better tools to do complete run
also add runcheck to do comparison of run result
|
-
Property mode set to
100755
|
File size:
654 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | # format, |
---|
4 | # runall clean |
---|
5 | # runall README |
---|
6 | # runall rr |
---|
7 | |
---|
8 | progname=$(basename $0) |
---|
9 | |
---|
10 | if [ $# -eq 0 ]; then |
---|
11 | echo "Usage: $progname (clean|setup|run)" >&2; |
---|
12 | exit 1 |
---|
13 | fi |
---|
14 | |
---|
15 | for i in `ls -1 `; do |
---|
16 | if ( file $i | grep -F directory | grep -Fq typed ); then |
---|
17 | cd $i; |
---|
18 | if [ "$1" = "clean" ]; then |
---|
19 | printf "\n ==> CLEANING on %s\n" "$i" >& 2 ; |
---|
20 | rm -rf *.der *.pem creds_dump |
---|
21 | elif [ "$1" = "setup" ]; then |
---|
22 | printf "\n ==> SETUP on %s\n" "$i" >& 2; |
---|
23 | README |
---|
24 | elif [ "$1" = "run" ] ; then |
---|
25 | printf "\n ==> RUN on %s\n" "$i" ; |
---|
26 | rr |
---|
27 | fi |
---|
28 | cd ..; |
---|
29 | fi |
---|
30 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.