source: tests/creddy_tests/roles.sh @ 8200a9c

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