source: tests/attr_tests/run_test @ ec550f7

abac0-leakabac0-meimei-idtvf-new-xml
Last change on this file since ec550f7 was ec550f7, checked in by Mei <mei@…>, 11 years ago

1) reworked how API doc is generated
2) tweak top level Makefile.am
3) loading issuer principal as side-effect of loading

an attribute credentials

4) add examples of GENI specific attribute credentials

and principal certificates into the regression testing

5) rename examples to tests

  • Property mode set to 100755
File size: 371 bytes
Line 
1#!/bin/sh
2#########
3# run_test
4#
5rm -rf *.out *.xml
6 
7# a_run type #attr
8a_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
20a_run privilege 6
21a_run abac 1
Note: See TracBrowser for help on using the repository browser.