source: examples/creddy_prover_tests/runall @ 47d5cf9

mei_rt2mei_rt2_fix_1
Last change on this file since 47d5cf9 was d9c3886, checked in by Mei <mei@…>, 13 years ago

1) add 2 more query calls in abac.hh that take Role and Oset instead of

strings. Add supporting code in libabac that will take abac_aspect_t
and make query term directly instead of doing stringify the structure
and do string->yyparse->abac_aspect_t again.

2) start on inline doc into abac.hh
3) tweaked some scripts in examples directory

  • Property mode set to 100755
File size: 755 bytes
RevLine 
[f0eb81d]1#!/bin/sh
2
3# format,
4#   runall clean
[9335cfa]5#   runall setup
6#   runall run
[f0eb81d]7
8progname=$(basename $0)
[d9c3886]9pwd=`pwd`
[f0eb81d]10
11if [ $# -eq 0 ]; then
12    echo "Usage: $progname (clean|setup|run)" >&2;
13    exit 1
14fi
[c469edf]15
[5110d42]16ABAC_PROVER_PATH="/home/mei/Deter/abac/libabac"
17export ABAC_PROVER_PATH
18
[c469edf]19for 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
35done
Note: See TracBrowser for help on using the repository browser.