mei_rt2mei_rt2_fix_1
Last change
on this file since c7df2ad 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
|
Rev | Line | |
---|
[669b481] | 1 | |
---|
| 2 | This directory contains various ABAC scenarios that exercise |
---|
| 3 | various feature of the current RT2 implmentation using YAP prolog. |
---|
| 4 | |
---|
| 5 | Both the setting up of the credential db and the front end query |
---|
| 6 | utilize the python interface to libabac library made possible |
---|
| 7 | through swig. |
---|
| 8 | |
---|
| 9 | Each subdirectory has a README script which contains a description |
---|
| 10 | of the scenario. The run_test script controls the sequence of script |
---|
| 11 | calls within the subdirectory. There is a setup.py that sets up the |
---|
| 12 | principals needed for the scenario and an attr.py that sets up the |
---|
| 13 | access attribute policy and the query.py that makes various query |
---|
| 14 | into to the db. All of these files can be combined into a single |
---|
| 15 | script if preferred. |
---|
| 16 | |
---|
| 17 | runcheck, is the top level script that initiates a complete |
---|
| 18 | validation run; captures the result and compares with the baseline |
---|
[e3462b4] | 19 | result stored in allout.save. It calls .runall to wipe clean all |
---|
| 20 | byproducts of a validation run and to initiate run_test in each |
---|
| 21 | subdirectory. |
---|
[669b481] | 22 | |
---|
[e3462b4] | 23 | Typical command to call at the top: |
---|
[669b481] | 24 | |
---|
| 25 | runcheck |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.