source: tests/attr_tests/show.sh

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