source: tests/creddy_tests/display.sh @ 3c30b59

abac0-leakabac0-mei
Last change on this file since 3c30b59 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.7 KB
Line 
1#!/bin/sh
2#display.sh
3
4. ${TESTDIR}/test_util.sh
5
6runTest "creddy_tests/display.sh" "test1"  \
7"$eloc/creddy --display --show=all --cert Acme_ID.pem" \
80  "display an issuer cert"
9
10runTest "creddy_tests/display.sh" "test2"  \
11"$eloc/creddy --display --show=all --cert Acme_private.pem" \
121  "display a privkey file"
13
14runTest "creddy_tests/display.sh" "test3"  \
15"$eloc/creddy --display --show=all --cert Acme_buy_rockets__Acme_preferred_customer_attr.xml" \
160  "display an attribute cert"
17
18runTest "creddy_tests/display.sh" "test4"  \
19"$eloc/creddy --display --show=all --cert Acme_preferred_customer__Coyote_attr.xml" \
200  "display an attribute cert"
21
22runTest "creddy_tests/display.sh" "test5"  \
23"$eloc/creddy --display --show=all --cert bad_attr.xml" \
241  "supplied a none existing attribute cert"
25
26runTest "creddy_tests/display.sh" "test6"  \
27"$eloc/creddy --display --show=all --cert not_ss.pem" \
280  "display an none self signed issuer cert"
29
30runTest "creddy_tests/display.sh" "test7"  \
31"$eloc/creddy --display --show=all --cert not_ss.xml" \
320  "display a none self signed attribute cert"
33
34runTest "creddy_tests/display.sh" "test8"  \
35"$eloc/creddy --display --show=all --cert iProtoGENI.xml" \
361  "display an expired GENI signed attribute cert"
37
38runTest "creddy_tests/display.sh" "test9"  \
39"$eloc/creddy --display --show=all --cert ProtoGENI.xml" \
400  "FAKE:display a valid GENI signed attribute cert"
41
42runTest "creddy_tests/display.sh" "test10"  \
43"$eloc/creddy --display --show=all --cert PGissuer.pem" \
440  "display a GENI issuer cert"
45
46runTest "creddy_tests/display.sh" "test11"  \
47"$eloc/creddy --display --show=all --cert priv.xml" \
480  "display a GENI privilege attribute cert"
49
50
Note: See TracBrowser for help on using the repository browser.