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
|
Rev | Line | |
---|
[461541a] | 1 | #!/bin/sh |
---|
| 2 | #attribute_rule.sh |
---|
| 3 | |
---|
[3c30b59] | 4 | . ${TESTDIR}/test_util.sh |
---|
[461541a] | 5 | |
---|
[3c30b59] | 6 | bigbird=`$eloc/creddy --keyid --cert Bigbird_ID.pem` |
---|
| 7 | coyote=`$eloc/creddy --keyid --cert Coyote_ID.pem` |
---|
[461541a] | 8 | |
---|
| 9 | rule="$coyote.sneaky_friend<-$bigbird" |
---|
| 10 | |
---|
[3c30b59] | 11 | runTest "creddy_tests/attribute_rule.sh" "test1" \ |
---|
| 12 | "$eloc/creddy --attribute \ |
---|
[461541a] | 13 | --issuer Coyote_ID.pem --key Coyote_private.pem \ |
---|
| 14 | --attrrule "$rule" \ |
---|
[3c30b59] | 15 | --out Coyote_sneakyFriend__Bigbird_attr.xml" \ |
---|
| 16 | 0 "trying making attribute using attrrule option" |
---|
[461541a] | 17 | |
---|
[3c30b59] | 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" |
---|
[461541a] | 21 | |
---|
Note: See
TracBrowser
for help on using the repository browser.