mei_rt2mei_rt2_fix_1
Last change
on this file since c6d5da3 was
e3462b4,
checked in by Mei <mei@…>, 12 years ago
|
1) make regression test to use just runcheck (hide runall)
2) alter the absolute path in the error message so the regression testing
would not be so user dependent when doing validation
3) add the missing null setting in abac_verifier's issuer_id line 335
|
-
Property mode set to
100755
|
File size:
603 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' |
---|
[e3462b4] | 10 | eval $g_cmd_sha 1>id.sha 2>&1 |
---|
[5110d42] | 11 | |
---|
| 12 | echo '---run with cn' |
---|
[e3462b4] | 13 | eval $g_cmd_cn 1>id_pre.cn 2>&1 |
---|
| 14 | cat id_pre.cn |sed 's/cert .*Tom_IDKEY.pem/cert Tom_IDKEY.pem/' > id.cn |
---|
| 15 | rm -rf id_pre.cn |
---|
[5110d42] | 16 | result=`diff id.cn id.save 2>/dev/null` |
---|
| 17 | if [ $? -eq 0 ]; then |
---|
| 18 | if [ "$result" = "" ]; then |
---|
| 19 | echo " PASSED" |
---|
| 20 | else |
---|
| 21 | echo " ERROR:id test result differs!!!" |
---|
| 22 | fi |
---|
| 23 | else |
---|
| 24 | echo " ERROR:id test result differs!!!" |
---|
| 25 | fi |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.