source: examples/python_tests/basic_attribute/run_test @ c0fd8bc

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

1) update regression tests to work on bsd's 'test'/wc format

  • Property mode set to 100755
File size: 313 bytes
Line 
1#!/bin/sh
2
3rm -rf *.pem *.xml *.log *.out
4
5echo '---setup principals'
6./setup.py 1>attr.log 2>&1
7
8echo '---run command '
9env keystore=`pwd` ./attr.py > attr.out 2>&1
10
11result=`cat attr.out |wc -l`
12if [ $result -eq 9 ]; then
13    echo "   PASSED"
14else
15    echo "   ERROR:basic_attribute test result differs!!!"
16fi
17
Note: See TracBrowser for help on using the repository browser.