source: tests/creddy_tests/attribute_rule.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: 660 bytes
Line 
1#!/bin/sh
2#attribute_rule.sh
3
4. ${TESTDIR}/test_util.sh
5
6bigbird=`$eloc/creddy --keyid --cert Bigbird_ID.pem`
7coyote=`$eloc/creddy --keyid --cert Coyote_ID.pem`
8
9rule="$coyote.sneaky_friend<-$bigbird"
10
11runTest "creddy_tests/attribute_rule.sh" "test1"  \
12"$eloc/creddy --attribute \
13       --issuer Coyote_ID.pem --key Coyote_private.pem \
14       --attrrule "$rule" \
15       --out Coyote_sneakyFriend__Bigbird_attr.xml"  \
160  "trying making attribute using attrrule option"
17
18runTest "creddy_tests/attribute_rule.sh" "test2"  \
19"$eloc/creddy --roles --cert Coyote_sneakyFriend__Bigbird_attr.xml"  \
200  "double check on the attribute made with atttrrule option"
21
Note: See TracBrowser for help on using the repository browser.