source: tests/attr_tests/show.sh @ 1afd681

abac0-leakabac0-mei
Last change on this file since 1afd681 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: 512 bytes
RevLine 
[c00fcc3]1#!/bin/sh
[3c30b59]2#show.sh
3
4. ${TESTDIR}/test_util.sh
5
6#expect 1 rule
7runCTest "attr_tests/show.sh" "test1" \
8"$eloc/creddy --roles --cert abac_attr.xml" \
90 "show a V0 abac attribute-1 rule" "<-" 1
10
11#expect 6 rule
12runCTest "attr_tests/show.sh" "test2" \
13"$eloc/creddy --roles --cert privilege_attr.xml" \
140 "show a V0 GENI privilege attribute-6 rules" "<-" 6
15
16#expect 1 rule
17runCTest "attr_tests/show.sh" "test3" \
18"$eloc/creddy --roles --cert not_ss.xml" \
190 "show a V0 abac not self signed attribute-1 rule" "<-" 1
[c00fcc3]20
21
Note: See TracBrowser for help on using the repository browser.