source: examples/python_tests/basic_id/run_test @ 14eea4a

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since 14eea4a 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: 445 bytes
Line 
1#!/bin/sh
2
3rm -rf *.pem *.xml *.log *.out
4
5echo '---setup principals'
6./setup.py 1>id.log 2>&1
7
8echo '---run id.py '
9env keystore=`pwd` ./id.py > id.out 2>&1
10
11#echo '---run id_ctxt ' -- not in RT0
12#env keystore=`pwd` ./id_ctxt.py >> id.out 2>&1
13
14good=`grep adding id.out |wc -l`
15bad=`grep "terminate called" id.out |wc -l`
16if [ $good -eq 6 -a $bad -eq 1 ]; then
17    echo "   PASSED"
18else
19    echo "   ERROR:basic_id test result differs!!!"
20fi
21
Note: See TracBrowser for help on using the repository browser.