source: examples/creddy_prover_tests/runcheck @ ed3dc05

mei_rt2mei_rt2_fix_1
Last change on this file since ed3dc05 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: 434 bytes
RevLine 
[5110d42]1#!/bin/sh
2
3rm -rf allout.cn allout.sha
4
5ABAC_PROVER_PATH="/home/mei/Deter/abac/libabac"
6export ABAC_PROVER_PATH
7
[d9c3886]8echo 'running libabac CREDDY/ABAC_PROVER_YAP testing...'
[5110d42]9echo '  ---with sha'
10env ./runall run 1> allout.sha 2>/dev/null
11echo '  ---with cn'
12env ABAC_CN=1 ./runall run 1> allout.cn 2>/dev/null
13result=`diff allout.cn allout.save`
14
15if [ "$result" = "" ]; then
16   echo "   PASSED"
17else
18   echo "   ERROR:got changes!!!"
19fi
Note: See TracBrowser for help on using the repository browser.