source: tests/creddy_tests/keyid.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: 1.2 KB
Line 
1#!/bin/sh
2# keyid.sh
3
4. ${TESTDIR}/test_util.sh
5
6runTest "creddy_tests/keyid.sh" "test1"  \
7"$eloc/creddy --keyid --cert Acme_ID.pem" \
80  "supplied with good identity cert"
9
10runTest "creddy_tests/keyid.sh" "test2"  \
11"$eloc/creddy --keyid --cert Acme_private.pem" \
121  "supplied with privkey"
13
14runTest "creddy_tests/keyid.sh" "test3"  \
15"$eloc/creddy --keyid --cert Acme_buy_rockets__Acme_preferred_customer_attr.xml" \
161  "supplied with attribute cert instead"
17
18runTest "creddy_tests/keyid.sh" "test4"  \
19"$eloc/creddy --keyid --cert bad_attr.xml" \
201  "supplied with non existing attribute cert"
21
22runTest "creddy_tests/keyid.sh" "test5"  \
23"$eloc/creddy --keyid --cert not_ss.pem" \
240  "supplied with good none self signed identity cert"
25
26runTest "creddy_tests/keyid.sh" "test6"  \
27"$eloc/creddy --keyid --cert not_ss.xml" \
281  "supplied with none self signed attribute cert"
29
30runTest "creddy_tests/keyid.sh" "test7"  \
31"$eloc/creddy --keyid --cert priv.xml" \
321  "supplied with GENI privilege attribute cert"
33
34runTest "creddy_tests/keyid.sh" "test8"  \
35"$eloc/creddy --keyid --cert PGissuer.pem" \
360  "supplied with GENI issuer cert"
37
38runTest "creddy_tests/keyid.sh" "test9"  \
39"$eloc/creddy --keyid --cert ProtoGENI.xml" \
401  "supplied with GENI issued attribute cert"
41
Note: See TracBrowser for help on using the repository browser.