abac0-leak
Last change
on this file since e825c38 was
831da18,
checked in by Mei <mei@…>, 11 years ago
|
1) getting ready to for 0.1.6
|
-
Property mode set to
100644
|
File size:
836 bytes
|
Line | |
---|
1 | # |
---|
2 | # attr_tests |
---|
3 | # |
---|
4 | |
---|
5 | include ../abac.mk |
---|
6 | |
---|
7 | EXPECTED_OKAY=3 |
---|
8 | |
---|
9 | .PHONY: runcheck clean-local setup |
---|
10 | all: runcheck |
---|
11 | |
---|
12 | runcheck: setup.sh |
---|
13 | @make clean |
---|
14 | @echo 'running libabac ATTRS testing...' | tee result |
---|
15 | @touch error |
---|
16 | @$(MY_ENV) ./setup.sh |
---|
17 | @($(MY_ENV) ./show.sh |tee -a result |grep BAD >> error; cd .) |
---|
18 | @if test -f error ; \ |
---|
19 | then \ |
---|
20 | (if test `cat error | wc -l ` -eq 0 ; \ |
---|
21 | then \ |
---|
22 | (if test `grep GOOD result | wc -l ` -eq $(EXPECTED_OKAY) ; \ |
---|
23 | then echo " PASSED!!!"; \ |
---|
24 | else echo " ERROR, no error but not enough good results!!!"; \ |
---|
25 | fi); \ |
---|
26 | else (echo " ERROR!!!"; cat error;); \ |
---|
27 | fi); \ |
---|
28 | else echo " PASSED"; \ |
---|
29 | fi |
---|
30 | |
---|
31 | clean: |
---|
32 | @rm -rf *.xml *.pem error result |
---|
33 | |
---|
34 | clean-local: |
---|
35 | @rm -rf *.xml *.pem error result |
---|
36 | |
---|
37 | |
---|
Note: See
TracBrowser
for help on using the repository browser.