source: tests/creddy_tests/display.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.7 KB
Line 
1#!/usr/bin/env sh
2#display.sh
3
4if [ -z "${TESTDIR}" ] ; then
5    TESTDIR=..
6fi
7. ${TESTDIR}/test_util.sh
8
9runTest "creddy_tests/display.sh" "test1"  \
10"$eloc/creddy --display --show=all --cert Acme_ID.pem" \
110  "display an issuer cert"
12
13runTest "creddy_tests/display.sh" "test2"  \
14"$eloc/creddy --display --show=all --cert Acme_private.pem" \
151  "display a privkey file"
16
17runTest "creddy_tests/display.sh" "test3"  \
18"$eloc/creddy --display --show=all --cert Acme_buy_rockets__Acme_preferred_customer_attr.xml" \
190  "display an attribute cert"
20
21runTest "creddy_tests/display.sh" "test4"  \
22"$eloc/creddy --display --show=all --cert Acme_preferred_customer__Coyote_attr.xml" \
230  "display an attribute cert"
24
25runTest "creddy_tests/display.sh" "test5"  \
26"$eloc/creddy --display --show=all --cert bad_attr.xml" \
271  "supplied a none existing attribute cert"
28
29runTest "creddy_tests/display.sh" "test6"  \
30"$eloc/creddy --display --show=all --cert not_ss.pem" \
310  "display an none self signed issuer cert"
32
33runTest "creddy_tests/display.sh" "test7"  \
34"$eloc/creddy --display --show=all --cert not_ss.xml" \
350  "display a none self signed attribute cert"
36
37runTest "creddy_tests/display.sh" "test8"  \
38"$eloc/creddy --display --show=all --cert iProtoGENI.xml" \
391  "display an expired GENI signed attribute cert"
40
41runTest "creddy_tests/display.sh" "test9"  \
42"$eloc/creddy --display --show=all --cert ProtoGENI.xml" \
430  "FAKE:display a valid GENI signed attribute cert"
44
45runTest "creddy_tests/display.sh" "test10"  \
46"$eloc/creddy --display --show=all --cert PGissuer.pem" \
470  "display a GENI issuer cert"
48
49runTest "creddy_tests/display.sh" "test11"  \
50"$eloc/creddy --display --show=all --cert priv.xml" \
510  "display a GENI privilege attribute cert"
52
53
Note: See TracBrowser for help on using the repository browser.