source:
tests/example_scripts/wiki/run_test
@
13b087a
Last change on this file since 13b087a was bec30b5, checked in by , 11 years ago | |
---|---|
|
|
File size: 446 bytes |
Rev | Line | |
---|---|---|
[a02c849] | 1 | #!/bin/sh |
2 | ######### | |
3 | # run_test | |
4 | # | |
5 | ||
[bec30b5] | 6 | rm -rf *.pem *.out *.xml |
[a02c849] | 7 | # a_run type |
8 | a_run() | |
9 | { | |
10 | echo "---running (wiki) $1 script" | |
11 | ./$1.py 1 >> $1.out 2>& 1 | |
12 | ./$1.ck | |
13 | if [ $? -eq 0 ]; then | |
14 | echo " PASSED" | |
15 | else | |
16 | echo " FAILED" | |
17 | fi | |
[bec30b5] | 18 | rm -rf *.pem *.xml |
[a02c849] | 19 | } |
20 | ||
21 | a_run id1 | |
22 | creddy --generate --cn newGuy | |
23 | mv newGuy_ID.pem newGuy.pem | |
24 | a_run id2 | |
25 | a_run id3 | |
26 | a_run id4 | |
27 | a_run id5 | |
28 | a_run attr1 | |
29 | a_run attr2 | |
30 | a_run ctxtQuery1 | |
31 | a_run ctxtQuery2 |
Note: See TracBrowser
for help on using the repository browser.