source: examples/example_scripts/.runall @ ba6027a

mei_rt2mei_rt2_fix_1
Last change on this file since ba6027a was ba6027a, checked in by Mei <mei@…>, 12 years ago

1) modified code all around to add support for encrypted private key for

ID credential

2) add new abac_key_t structure (abac_key.c)
3) add new keycheck option to creddy
4) add 2 new test suites

  • Property mode set to 100755
File size: 728 bytes
Line 
1#!/bin/sh
2
3# format,
4#   runall clean
5#   runall run
6
7progname=$(basename $0)
8pwd=`pwd`
9
10if [ $# -eq 0 ]; then
11    echo "Usage: $progname (clean|run)" >&2;
12    exit 1
13fi
14
15ABAC_PROVER_PATH=`which abac_prover_yap | sed 's/\/abac_prover_yap//'`
16export ABAC_PROVER_PATH
17
18if [ "$1" = "clean" ]; then
19    rm -rf allout.tmp
20    for i in `ls -1 `; do
21        if [ -d $i ]; then
22            printf "\n ==> CLEANING on %s\n" "$i" >& 2 ;
23            cd $i
24            make realclean
25            cd $pwd
26        fi
27    done
28elif [ "$1" = "run" ] ; then
29    for i in `ls -1 `; do
30        if [ -d $i ]; then
31            printf "\n ==> RUN on %s\n" "$i" ;
32            cd $i
33            ./run_test
34            cd $pwd
35        fi
36    done
37fi 
Note: See TracBrowser for help on using the repository browser.