source: examples/python_tests/README @ f824a9e

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

1) finish test conversion from creddy-prover to python
2) update the abac.hh/API doc more, adding more intermediate calls

to make abac.hh more uniform

3) found out why a very long attribute rule can not survive in/out of

ietf_attribute_t call (m64 en/decoding - abac_verifier, alice_rt1)

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[669b481]1
2This directory contains various ABAC scenarios that exercise
3various feature of the current RT2 implmentation using YAP prolog.
4
5Both the setting up of the credential db and the front end query
6utilize the python interface to libabac library made possible
7through swig.
8
9Each subdirectory has a README script which contains a description
10of the scenario. The run_test script controls the sequence of script
11calls within the subdirectory. There is a setup.py that sets up the
12principals needed for the scenario and an attr.py that sets up the
13access attribute policy and the query.py that makes various query
14into to the db. All of these files can be combined into a single
15script if preferred.
16
17runall, is the top level script that will wipe clean all by products
18of a validation run or initiate run_test in each subdirectory.
19
20runcheck, is the top level script that initiates a complete
21validation run; captures the result and compares with the baseline
22result stored in allout.save. 
23
24Typical commands to call:
25   
26    runall clean
27    runcheck
28
29
30
Note: See TracBrowser for help on using the repository browser.