source: examples/python_tests/README @ 4b46680

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

1) make regression test to use just runcheck (hide runall)
2) alter the absolute path in the error message so the regression testing

would not be so user dependent when doing validation

3) add the missing null setting in abac_verifier's issuer_id line 335

  • Property mode set to 100644
File size: 1.0 KB
Line 
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
17runcheck, is the top level script that initiates a complete
18validation run; captures the result and compares with the baseline
19result stored in allout.save.  It calls .runall to wipe clean all
20byproducts of a validation run and to initiate run_test in each
21subdirectory.
22
23Typical command to call at the top:
24   
25    runcheck
26
27
28
Note: See TracBrowser for help on using the repository browser.