abac0-leakabac0-mei
Last change
on this file since 28d6d08 was
3c30b59,
checked in by Mei <mei@…>, 11 years ago
|
1) add in new refactored regression testing directory
2) undo the abac.hh/ABAC.hh api changes
3) merged with Ted's changes to attribute format/nickname/issuer processing
|
-
Property mode set to
100755
|
File size:
660 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | #attribute_rule.sh |
---|
3 | |
---|
4 | . ${TESTDIR}/test_util.sh |
---|
5 | |
---|
6 | bigbird=`$eloc/creddy --keyid --cert Bigbird_ID.pem` |
---|
7 | coyote=`$eloc/creddy --keyid --cert Coyote_ID.pem` |
---|
8 | |
---|
9 | rule="$coyote.sneaky_friend<-$bigbird" |
---|
10 | |
---|
11 | runTest "creddy_tests/attribute_rule.sh" "test1" \ |
---|
12 | "$eloc/creddy --attribute \ |
---|
13 | --issuer Coyote_ID.pem --key Coyote_private.pem \ |
---|
14 | --attrrule "$rule" \ |
---|
15 | --out Coyote_sneakyFriend__Bigbird_attr.xml" \ |
---|
16 | 0 "trying making attribute using attrrule option" |
---|
17 | |
---|
18 | runTest "creddy_tests/attribute_rule.sh" "test2" \ |
---|
19 | "$eloc/creddy --roles --cert Coyote_sneakyFriend__Bigbird_attr.xml" \ |
---|
20 | 0 "double check on the attribute made with atttrrule option" |
---|
21 | |
---|
Note: See
TracBrowser
for help on using the repository browser.