abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change
on this file since c00fcc3 was
c00fcc3,
checked in by Mei <mei@…>, 12 years ago
|
1) add attribute tests
2) edit some doc
|
-
Property mode set to
100755
|
File size:
371 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | ######### |
---|
3 | # run_test |
---|
4 | # |
---|
5 | rm -rf *.out *.xml |
---|
6 | |
---|
7 | # a_run type #attr |
---|
8 | a_run() |
---|
9 | { |
---|
10 | cp $1_attr.xml_save $1_attr.xml |
---|
11 | ./show.sh $1_attr.xml 1> $1.out 2>& 1 |
---|
12 | result=`grep "<-" $1.out 2>/dev/null | wc -l` |
---|
13 | if [ $result -eq $2 ]; then |
---|
14 | echo " attr_tests, $1 PASSED" |
---|
15 | else |
---|
16 | echo " attr-tests, $1 FAILED" |
---|
17 | fi |
---|
18 | } |
---|
19 | |
---|
20 | a_run privilege 6 |
---|
21 | a_run abac 1 |
---|
Note: See
TracBrowser
for help on using the repository browser.