source: tests/creddy_tests/keyid.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: 1.3 KB
Line 
1#!/usr/bin/env sh
2# keyid.sh
3
4if [ -z "${TESTDIR}" ] ; then
5    TESTDIR=..
6fi
7. ${TESTDIR}/test_util.sh
8
9runTest "creddy_tests/keyid.sh" "test1"  \
10"$eloc/creddy --keyid --cert Acme_ID.pem" \
110  "supplied with good identity cert"
12
13runTest "creddy_tests/keyid.sh" "test2"  \
14"$eloc/creddy --keyid --cert Acme_private.pem" \
151  "supplied with privkey"
16
17runTest "creddy_tests/keyid.sh" "test3"  \
18"$eloc/creddy --keyid --cert Acme_buy_rockets__Acme_preferred_customer_attr.xml" \
191  "supplied with attribute cert instead"
20
21runTest "creddy_tests/keyid.sh" "test4"  \
22"$eloc/creddy --keyid --cert bad_attr.xml" \
231  "supplied with non existing attribute cert"
24
25runTest "creddy_tests/keyid.sh" "test5"  \
26"$eloc/creddy --keyid --cert not_ss.pem" \
270  "supplied with good none self signed identity cert"
28
29runTest "creddy_tests/keyid.sh" "test6"  \
30"$eloc/creddy --keyid --cert not_ss.xml" \
311  "supplied with none self signed attribute cert"
32
33runTest "creddy_tests/keyid.sh" "test7"  \
34"$eloc/creddy --keyid --cert priv.xml" \
351  "supplied with GENI privilege attribute cert"
36
37runTest "creddy_tests/keyid.sh" "test8"  \
38"$eloc/creddy --keyid --cert PGissuer.pem" \
390  "supplied with GENI issuer cert"
40
41runTest "creddy_tests/keyid.sh" "test9"  \
42"$eloc/creddy --keyid --cert ProtoGENI.xml" \
431  "supplied with GENI issued attribute cert"
44
Note: See TracBrowser for help on using the repository browser.