abac0-leak
Last change
on this file since 367e333 was
4f79997,
checked in by Mei <mei@…>, 11 years ago
|
1) add a new scaling test -haystack/ralphs
2) tweak some libabac code here and there
|
-
Property mode set to
100755
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/usr/bin/env sh |
---|
2 | |
---|
3 | . ${TESTDIR}/test_util.sh |
---|
4 | if [ -z "${TESTDIR}" ] ; then |
---|
5 | TESTDIR=../.. |
---|
6 | fi |
---|
7 | keyloc=`pwd` |
---|
8 | |
---|
9 | ice=`$eloc/creddy --keyid --cert $keyloc/IceCream_ID.pem` |
---|
10 | chocolate_prin=`$eloc/creddy --keyid --cert $keyloc/Chocolate_ID.pem` |
---|
11 | |
---|
12 | delicious="$ice.delicious" |
---|
13 | |
---|
14 | echo "===good============ IceCream.delicious <- Chocolate" |
---|
15 | runTest creddy_prover_test/ice_cream_rt0 test1 \ |
---|
16 | "$ploc/abac_prover --keystore $keyloc --role $delicious --principal $chocolate_prin" \ |
---|
17 | 0 \ |
---|
18 | "very basic simple call" |
---|
19 | |
---|
20 | rm -rf IceCream*.pem |
---|
21 | echo "===good(no issuer)============ IceCream.delicious <- Chocolate" |
---|
22 | runTest creddy_prover_test/ice_cream_rt0 test2 \ |
---|
23 | "$ploc/abac_prover --keystore $keyloc --role $delicious --principal $chocolate_prin" \ |
---|
24 | 0 \ |
---|
25 | "basic simple call without the issuer's principal id in local keystore" |
---|
26 | |
---|
27 | |
---|
28 | rm -rf Chocolate*.pem |
---|
29 | echo "===good(no issuer & no principal)============ IceCream.delicious <- Chocolate" |
---|
30 | runTest creddy_prover_test/ice_cream_rt0 test1 \ |
---|
31 | "$ploc/abac_prover --keystore $keyloc --role $delicious --principal $chocolate_prin" \ |
---|
32 | 0 \ |
---|
33 | "basic simple call without the issuer's principal id nor principal id in local keystore" |
---|
34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.