source: examples/python_tests/acme_rockets_rt0/run_test @ be6cb41

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

1) forgot to add the new files

  • Property mode set to 100755
File size: 439 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" = "3" -a "$bad" = "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.