source: examples/python_tests/runcheck @ 5110d42

mei_rt2mei_rt2_fix_1
Last change on this file since 5110d42 was 5110d42, checked in by Mei <mei@…>, 13 years ago

1) reorganized the test directory to include python tests
2) attribute via api and principal via api from python scripts is

working (although there is a annoying seg fault at the very end
that must be related to something not been dup()ed.. need to wait
for c example to debug it)

3) able to query via api
4) replicated access_rt2 example in python and the query result matches
5) expanded api to make it easier to generate rt2 structure

  • Property mode set to 100755
File size: 304 bytes
Line 
1#!/bin/sh
2
3rm -rf allout.tmp
4
5ABAC_PROVER_PATH="/home/mei/Deter/abac/libabac"
6export ABAC_PROVER_PATH
7
8echo 'running PYTHON testing...'
9
10env ./runall run 1> allout.tmp 2>& 1
11
12result=`diff allout.tmp allout.save`
13
14if [ "$result" = "" ]; then
15   echo "   PASSED"
16else
17   echo "   ERROR:got changes!!!"
18fi
Note: See TracBrowser for help on using the repository browser.