source: examples/creddy_prover_tests/Makefile @ 9ac7fb4

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since 9ac7fb4 was 461541a, checked in by Mei <mei@…>, 12 years ago

1) updated original rt0 to remove libstrongswan dependency

a) identity credential being made/accessed with openssl api calls

(X509/EVP_PKEY pem)

b) attribute credential being made/access via xmlsec1 (custom XML

structure)

2) refactored libcreddy into libabac and now one ABAC namespace for

libabac

3) added attribute_rule suboption to creddy's attribute as another way

to insert access rule

4) added some regression tests into example directory
5) updated some docs.

  • Property mode set to 100644
File size: 794 bytes
Line 
1
2DIRECTORY= acme_rockets_intersection_rt0 acme_rockets_rt0 experiment_create_rt0
3
4.PHONY : setup runcheck clean
5runcheck: $(DIRECTORY)
6
7clean:
8        @for i in $(DIRECTORY); do \
9        here=`pwd`; \
10        cd $$i; \
11        rm -rf *.xml *.pem *.out *.log; \
12        cd $$here; \
13        done 
14        @rm -rf result
15
16runcheck: 
17        @echo 'running libabac CREDDY/ABAC_PROVER testing...' 
18        @rm -rf result
19        @for i in $(DIRECTORY); do \
20        here=`pwd`; \
21        cd $$i; \
22        printf "\n ==> RUN on %s\n" "$$i" >> ../result; \
23        ./README >> ../result 2>/dev/null; \
24        ./run_query >> ../result 2>/dev/null; \
25        cd $$here; \
26        done
27## since can not check the everchanging keyid values, we just do a char count check..
28        @if test -f result && test `diff result.save result |wc -c ` -eq 6750 ; \
29        then echo "   PASSED"; \
30        else echo "   ERROR:got changes!!!"; \
31        fi
32
Note: See TracBrowser for help on using the repository browser.