abac0-leak
Last change
on this file since e825c38 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:
577 bytes
|
Rev | Line | |
---|
[4f79997] | 1 | #!/usr/bin/env sh |
---|
[3c30b59] | 2 | #show.sh |
---|
| 3 | |
---|
[4f79997] | 4 | if [ -z "${TESTDIR}" ] ; then |
---|
| 5 | TESTDIR=../../../.. |
---|
| 6 | fi |
---|
[3c30b59] | 7 | . ${TESTDIR}/test_util.sh |
---|
| 8 | |
---|
| 9 | #expect 1 rule |
---|
| 10 | runCTest "attr_tests/show.sh" "test1" \ |
---|
| 11 | "$eloc/creddy --roles --cert abac_attr.xml" \ |
---|
| 12 | 0 "show a V0 abac attribute-1 rule" "<-" 1 |
---|
| 13 | |
---|
| 14 | #expect 6 rule |
---|
| 15 | runCTest "attr_tests/show.sh" "test2" \ |
---|
| 16 | "$eloc/creddy --roles --cert privilege_attr.xml" \ |
---|
| 17 | 0 "show a V0 GENI privilege attribute-6 rules" "<-" 6 |
---|
| 18 | |
---|
| 19 | #expect 1 rule |
---|
| 20 | runCTest "attr_tests/show.sh" "test3" \ |
---|
| 21 | "$eloc/creddy --roles --cert not_ss.xml" \ |
---|
| 22 | 0 "show a V0 abac not self signed attribute-1 rule" "<-" 1 |
---|
[c00fcc3] | 23 | |
---|
| 24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.