source: tests/creddy_tests/generate.sh @ 92d6cca

abac0-leakabac0-mei
Last change on this file since 92d6cca 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: 664 bytes
Line 
1#!/usr/bin/env sh
2#generate.sh
3
4if [ -z "${TESTDIR}" ] ; then
5    TESTDIR=..
6fi
7. ${TESTDIR}/test_util.sh
8
9runTest "creddy_tests/generate.sh" "test1", \
10"$eloc/creddy --generate --cn Bigbird"  \
110  "simple id credential generation"
12
13runTest "creddy_tests/generate.sh" "test2", \
14"$eloc/creddy --generate --cn 12_3"  \
150  "generate with underline in name"
16
17runTest "creddy_tests/generate.sh" "test3", \
18"$eloc/creddy --generate --cn Bad$name"  \
190  "generate with special $ as Bad$name, later part just got dropped"
20
21runTest "creddy_tests/generate.sh" "test4", \
22"$eloc/creddy --generate --cn abc --cert gen_attr.xml"  \
230  "generate with supplied attribute name"
24
Note: See TracBrowser for help on using the repository browser.