source: tests/creddy_tests/roles.sh @ 8a9f7af

abac0-leak
Last change on this file since 8a9f7af 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: 1006 bytes
Line 
1#!/bin/sh
2#roles.sh
3
4. ${TESTDIR}/test_util.sh
5
6runTest "creddy_tests/role.sh" "test1"  \
7"$eloc/creddy --roles --cert Acme_ID.pem" \
8 1  "supplied  with a issuer cert"
9
10runTest "creddy_tests/role.sh" "test2"  \
11"$eloc/creddy --roles --cert Acme_private.pem" \
12 1  "supplied with a privkey"
13
14runTest "creddy_tests/role.sh" "test3"  \
15"$eloc/creddy --roles --cert Acme_buy_rockets__Acme_preferred_customer_attr.xml" \
16 0  "supplied with right attribute cert"
17
18runTest "creddy_tests/role.sh" "test4"  \
19"$eloc/creddy --roles --cert bad_attr.xml" \
20 1  "supplied with a none existing cert"
21
22runTest "creddy_tests/role.sh" "test5"  \
23"$eloc/creddy --roles --cert priv.xml" \
24 0  "supplied with a GENI priviledge cert"
25
26runTest "creddy_tests/role.sh" "test6"  \
27"$eloc/creddy --roles --cert not_ss.xml" \
28 0  "supplied with a none self signed attribute cert"
29
30runTest "creddy_tests/role.sh" "test7"  \
31"$eloc/creddy --roles --cert iProtoGENI.xml" \
32 1  "supplied with an expired  GENI signed attribute cert"
33
34
35
Note: See TracBrowser for help on using the repository browser.