mei_rt2mei_rt2_fix_1
Last change
on this file since f824a9e was
f824a9e,
checked in by Mei <mei@…>, 12 years ago
|
1) add more doc to python_tests
|
-
Property mode set to
100755
|
File size:
519 bytes
|
Rev | Line | |
---|
[5110d42] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | g_cmd_sha=`grep "cmd1:" id.py |sed "s/cmd1://g" ` |
---|
| 4 | g_cmd_cn=`grep "cmd2:" id.py |sed "s/cmd2://g" ` |
---|
| 5 | |
---|
| 6 | echo '---setup principals' |
---|
[669b481] | 7 | ./setup.py 1>id.log 2>&1 |
---|
[5110d42] | 8 | |
---|
| 9 | echo '---run with sha' |
---|
| 10 | eval $g_cmd_sha 2>/dev/null 1 > id.sha |
---|
| 11 | |
---|
| 12 | echo '---run with cn' |
---|
| 13 | eval $g_cmd_cn 1>id.cn 2>&1 |
---|
| 14 | result=`diff id.cn id.save 2>/dev/null` |
---|
| 15 | if [ $? -eq 0 ]; then |
---|
| 16 | if [ "$result" = "" ]; then |
---|
| 17 | echo " PASSED" |
---|
| 18 | else |
---|
| 19 | echo " ERROR:id test result differs!!!" |
---|
| 20 | fi |
---|
| 21 | else |
---|
| 22 | echo " ERROR:id test result differs!!!" |
---|
| 23 | fi |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.