abac0-leakabac0-mei
Last change
on this file since 2be12d2 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:
716 bytes
|
Rev | Line | |
---|
[4f79997] | 1 | #!/usr/bin/env sh |
---|
[461541a] | 2 | #attribute_rule.sh |
---|
| 3 | |
---|
[4f79997] | 4 | if [ -z "${TESTDIR}" ] ; then |
---|
| 5 | TESTDIR=.. |
---|
| 6 | fi |
---|
[3c30b59] | 7 | . ${TESTDIR}/test_util.sh |
---|
[461541a] | 8 | |
---|
[3c30b59] | 9 | bigbird=`$eloc/creddy --keyid --cert Bigbird_ID.pem` |
---|
| 10 | coyote=`$eloc/creddy --keyid --cert Coyote_ID.pem` |
---|
[461541a] | 11 | |
---|
| 12 | rule="$coyote.sneaky_friend<-$bigbird" |
---|
| 13 | |
---|
[3c30b59] | 14 | runTest "creddy_tests/attribute_rule.sh" "test1" \ |
---|
| 15 | "$eloc/creddy --attribute \ |
---|
[461541a] | 16 | --issuer Coyote_ID.pem --key Coyote_private.pem \ |
---|
| 17 | --attrrule "$rule" \ |
---|
[3c30b59] | 18 | --out Coyote_sneakyFriend__Bigbird_attr.xml" \ |
---|
| 19 | 0 "trying making attribute using attrrule option" |
---|
[461541a] | 20 | |
---|
[3c30b59] | 21 | runTest "creddy_tests/attribute_rule.sh" "test2" \ |
---|
| 22 | "$eloc/creddy --roles --cert Coyote_sneakyFriend__Bigbird_attr.xml" \ |
---|
| 23 | 0 "double check on the attribute made with atttrrule option" |
---|
[461541a] | 24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.