abac0-leakabac0-mei
Last change
on this file since bceef20 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:
1.4 KB
|
Rev | Line | |
---|
[461541a] | 1 | #!/bin/sh |
---|
[3c30b59] | 2 | #attribute.sh |
---|
[461541a] | 3 | |
---|
[3c30b59] | 4 | . ${TESTDIR}/test_util.sh |
---|
[461541a] | 5 | |
---|
[3c30b59] | 6 | runTest "creddy_tests/attribute.sh" "test1" \ |
---|
| 7 | "$eloc/creddy --attribute \ |
---|
[461541a] | 8 | --issuer Acme_ID.pem --key Acme_private.pem --role roleOne \ |
---|
| 9 | --subject-cert Acme_ID.pem --subject-role simple_subject_role \ |
---|
[3c30b59] | 10 | --out Acme_roleOne__Acme_simple_subject_role_attr.xml" \ |
---|
| 11 | 0 "simple role attribute creation with same issuer" |
---|
[461541a] | 12 | |
---|
[3c30b59] | 13 | runTest "creddy_tests/attribute.sh" "test2" \ |
---|
| 14 | "$eloc/creddy --attribute \ |
---|
[461541a] | 15 | --issuer Acme_ID.pem --role roleTwo \ |
---|
| 16 | --subject-cert Acme_ID.pem --subject-role simple_subject_role \ |
---|
[3c30b59] | 17 | --out Acme_roleTwo__Acme_simple_subject_role_attr.xml" \ |
---|
| 18 | 1 "simple role attribute creation without privkey key" |
---|
[461541a] | 19 | |
---|
[3c30b59] | 20 | runTest "creddy_tests/attribute.sh" "test3" \ |
---|
| 21 | "$eloc/creddy --attribute \ |
---|
[461541a] | 22 | --issuer Acme_ID.pem --key Acme_private.pem --role roleThree \ |
---|
| 23 | --subject-cert Coyote_ID.pem --subject-role simple_subject_role \ |
---|
[3c30b59] | 24 | --out Acme_roleThree__Coyote_simple_subject_role_attr.xml" \ |
---|
| 25 | 0 "simple role attribute creation with differ issuer certs" |
---|
[461541a] | 26 | |
---|
[3c30b59] | 27 | runTest "creddy_tests/attribute.sh" "test4" \ |
---|
| 28 | "$eloc/creddy --attribute \ |
---|
[461541a] | 29 | --issuer Acme_ID.pem --key Coyote_private.pem --role roleFour \ |
---|
| 30 | --subject-cert Coyote_ID.pem --subject-role simple_subject_role \ |
---|
[3c30b59] | 31 | --out Acme_roleFour__Coyote_simple_subject_role_attr.xml" \ |
---|
| 32 | 1 "simple role attribute creation with wrong privkey key" |
---|
[461541a] | 33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.