mei_rt2
Last change
on this file since 7751094 was
2e9455f,
checked in by Mei <mei@…>, 11 years ago
|
1) added namespace
2) tweak ?This,
3) allowing linking role/oset as constraining conditions
4) adding access_tests regression testing that uses GENI's access policy
5) added couple multi contexts regression tests
6) add compression/uncompression calls to abac_encode_string/abac_decode_string
(libstrongwan only allows 512 char for attribute rule storage)
7) add attribute_now option to creddy that takes a whole char string for attribute
rule
|
-
Property mode set to
100644
|
File size:
615 bytes
|
Rev | Line | |
---|
[f3421a0] | 1 | |
---|
[97a6a36] | 2 | DIRECTORY=c perl python java |
---|
[f3421a0] | 3 | |
---|
| 4 | .PHONY : runcheck clean |
---|
| 5 | runcheck: $(DIRECTORY) |
---|
| 6 | |
---|
| 7 | clean: |
---|
| 8 | @for i in $(DIRECTORY); do \ |
---|
| 9 | here=`pwd`; \ |
---|
| 10 | cd $$i; \ |
---|
[928b1b7] | 11 | make -s clean; \ |
---|
[f3421a0] | 12 | cd $$here; \ |
---|
| 13 | done |
---|
| 14 | @rm -rf allout.tmp |
---|
| 15 | |
---|
| 16 | runcheck: |
---|
| 17 | @echo 'running libabac SCRIPT testing...' |
---|
| 18 | @for i in $(DIRECTORY); do \ |
---|
| 19 | here=`pwd`; \ |
---|
| 20 | cd $$i; \ |
---|
| 21 | printf "\n ==> RUN on %s\n" "$$i" >> ../allout.tmp ; \ |
---|
| 22 | ./run_test 1 >> ../allout.tmp 2>& 1; \ |
---|
| 23 | cd $$here; \ |
---|
| 24 | done |
---|
[2b4e740] | 25 | @if test -f allout.tmp && test `diff -q allout.save allout.tmp |wc -l ` -eq 0 ; \ |
---|
[f3421a0] | 26 | then echo " PASSED"; \ |
---|
| 27 | else echo " ERROR:got changes!!!"; \ |
---|
| 28 | fi |
---|
| 29 | |
---|
[2e9455f] | 30 | tt: |
---|
| 31 | cd java; \ |
---|
| 32 | sh -f run_test |
---|
Note: See
TracBrowser
for help on using the repository browser.