source: tests/python_tests/acme_rockets_rt0/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: 435 bytes
Line 
1#!/bin/sh
2
3rm -rf *.pem *.xml *.log *.out
4
5echo '---setup principals'
6./setup.py 1>/dev/null 2>& 1
7
8echo '---setup attributes'
9./attr.py 1>rocket.log 2>& 1
10
11echo '---run queries'
12env keystore=`pwd` ./query.py 1>rocket.out 2>& 1
13
14good=`grep success rocket.out |wc -l`
15bad=`grep failure rocket.out |wc -l`
16if [ $good -eq 3 -a $bad -eq 1 ]; then
17    echo "   PASSED"
18else
19    echo "   ERROR:acme_rockets_rt0 test result differs!!!"
20fi
21
22
Note: See TracBrowser for help on using the repository browser.