source:
examples/creddy_prover_tests/runall
@
adc0815
Last change on this file since adc0815 was d9c3886, checked in by , 13 years ago | |
---|---|
|
|
File size: 755 bytes |
Rev | Line | |
---|---|---|
[f0eb81d] | 1 | #!/bin/sh |
2 | ||
3 | # format, | |
4 | # runall clean | |
[9335cfa] | 5 | # runall setup |
6 | # runall run | |
[f0eb81d] | 7 | |
8 | progname=$(basename $0) | |
[d9c3886] | 9 | pwd=`pwd` |
[f0eb81d] | 10 | |
11 | if [ $# -eq 0 ]; then | |
12 | echo "Usage: $progname (clean|setup|run)" >&2; | |
13 | exit 1 | |
14 | fi | |
[c469edf] | 15 | |
[5110d42] | 16 | ABAC_PROVER_PATH="/home/mei/Deter/abac/libabac" |
17 | export ABAC_PROVER_PATH | |
18 | ||
[c469edf] | 19 | for i in `ls -1 `; do |
[d9c3886] | 20 | if [ -d $i ]; then |
21 | cd $i | |
[f0eb81d] | 22 | if [ "$1" = "clean" ]; then |
[5110d42] | 23 | rm -rf ../allout.sha ../allout.cn |
[f0eb81d] | 24 | printf "\n ==> CLEANING on %s\n" "$i" >& 2 ; |
25 | rm -rf *.der *.pem creds_dump | |
26 | elif [ "$1" = "setup" ]; then | |
27 | printf "\n ==> SETUP on %s\n" "$i" >& 2; | |
[9502c50] | 28 | ./README |
[f0eb81d] | 29 | elif [ "$1" = "run" ] ; then |
30 | printf "\n ==> RUN on %s\n" "$i" ; | |
[9502c50] | 31 | ./run_query |
[f0eb81d] | 32 | fi |
[d9c3886] | 33 | cd $pwd |
[c469edf] | 34 | fi |
35 | done |
Note: See TracBrowser
for help on using the repository browser.