source: examples/creddy_prover_tests/runcheck @ 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: 684 bytes
Line 
1#!/bin/sh
2
3rm -rf allout.cn allout.sha
4
5./.runall clean 1 >/dev/null 2>&1
6./.runall setup 1 >/dev/null 2>&1
7
8UID=`id | sed -e 's/ .*//' | sed -e 's/.*(//' | sed -e 's/)//'`
9if [ $UID = "mei" ]; then
10    ABAC_PROVER_PATH="../../../libabac"
11    else
12    ABAC_PROVER_PATH=`which abac_prover_yap | sed 's/\/abac_prover_yap//'`
13fi
14export ABAC_PROVER_PATH
15
16echo '\n'
17echo 'running libabac CREDDY/ABAC_PROVER_YAP testing...'
18echo '  ---with sha'
19env ./.runall run 1> allout.sha 2>/dev/null
20echo '  ---with cn'
21env ABAC_CN=1 ./.runall run 1> allout.cn 2>/dev/null
22result=`diff allout.cn allout.save`
23
24if [ "$result" = "" ]; then
25   echo "   PASSED"
26else
27   echo "   ERROR:got changes!!!"
28fi
Note: See TracBrowser for help on using the repository browser.