source: examples/creddy_prover_tests/runcheck @ d6ff6f1

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

1) add more doc to python_tests

  • Property mode set to 100755
File size: 603 bytes
Line 
1#!/bin/sh
2
3rm -rf allout.cn allout.sha
4
5UID=`id | sed -e 's/ .*//' | sed -e 's/.*(//' | sed -e 's/)//'`
6if [ $UID = "mei" ]; then
7    ABAC_PROVER_PATH="../../../libabac"
8    else
9    ABAC_PROVER_PATH=`which abac_prover_yap | sed 's/\/abac_prover_yap//'`
10fi
11export ABAC_PROVER_PATH
12
13echo 'running libabac CREDDY/ABAC_PROVER_YAP testing...'
14echo '  ---with sha'
15env ./runall run 1> allout.sha 2>/dev/null
16echo '  ---with cn'
17env ABAC_CN=1 ./runall run 1> allout.cn 2>/dev/null
18result=`diff allout.cn allout.save`
19
20if [ "$result" = "" ]; then
21   echo "   PASSED"
22else
23   echo "   ERROR:got changes!!!"
24fi
Note: See TracBrowser for help on using the repository browser.