source: tests/creddy_tests/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: 396 bytes
Line 
1#!/bin/sh
2#########
3# run_test
4#
5
6./setup.sh 1>/dev/null 2>&1
7
8# a_run type
9a_run()
10{
11    echo "---running $1 " > $1.out
12    ./$1.sh 1 >> $1.out 2>& 1
13    `./$1.ck`
14    if [ $? -eq 0 ]; then
15       echo "   creddy_tests, $1 PASSED"
16    else
17       echo "   creddy-tests, $1 FAILED"
18    fi
19}
20
21a_run verify
22a_run roles
23a_run attribute
24a_run keyid
25a_run generate
26a_run display
27a_run attribute_rule
28
Note: See TracBrowser for help on using the repository browser.