source: examples/access_tests/Makefile @ 2e9455f

mei_rt2
Last change on this file since 2e9455f 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: 606 bytes
Line 
1
2DIRECTORY=creddy_prover
3
4.PHONY : runcheck clean
5runcheck: $(DIRECTORY)
6
7clean:
8        @for i in $(DIRECTORY); do \
9        here=`pwd`; \
10        rm -rf allout.tmp; \
11        cd $$i; \
12        ./cleanup.sh all \
13        cd $$here; \
14        done 
15        @rm -rf allout.tmp
16
17runcheck:
18        @echo 'running libabac GENI testing...'
19        @for i in $(DIRECTORY); do \
20        here=`pwd`; \
21        cd $$i; \
22        printf "\n ==> RUN on %s\n" "$$i" >> ../allout.tmp ; \
23        ./run_test 1 >> ../allout.tmp 2>/dev/null; \
24        cd $$here; \
25        done 
26        @if test -f allout.tmp && test `diff -q allout.save allout.tmp |wc -l ` -eq 0 ; \
27        then echo "   PASSED"; \
28        else echo "   ERROR:got changes!!!"; \
29        fi
30
Note: See TracBrowser for help on using the repository browser.