source: examples/creddy_tests/run_test @ 4e10a0f

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since 4e10a0f was 461541a, checked in by Mei <mei@…>, 12 years ago

1) updated original rt0 to remove libstrongswan dependency

a) identity credential being made/accessed with openssl api calls

(X509/EVP_PKEY pem)

b) attribute credential being made/access via xmlsec1 (custom XML

structure)

2) refactored libcreddy into libabac and now one ABAC namespace for

libabac

3) added attribute_rule suboption to creddy's attribute as another way

to insert access rule

4) added some regression tests into example directory
5) updated some docs.

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