source: tests/example_scripts/wiki/run_test @ bec30b5

abac0-leakabac0-meimei-idtvf-new-xml
Last change on this file since bec30b5 was bec30b5, checked in by Mei <mei@…>, 11 years ago

1) change abac_context_load_directory to check on every regular files

and try to extract id id/privkey and then attribute in turn.

2) move id_certs to be context based instead of shared globally

  • Property mode set to 100755
File size: 446 bytes
Line 
1#!/bin/sh
2#########
3# run_test
4#
5
6rm -rf *.pem  *.out *.xml
7# a_run type
8a_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
18    rm -rf *.pem *.xml
19}
20
21a_run id1
22creddy --generate --cn newGuy
23mv newGuy_ID.pem newGuy.pem
24a_run id2
25a_run id3
26a_run id4
27a_run id5
28a_run attr1
29a_run attr2
30a_run ctxtQuery1
31a_run ctxtQuery2
Note: See TracBrowser for help on using the repository browser.