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
RevLine 
[461541a]1#!/bin/sh
2#attribute_rule.sh
3
[3c30b59]4. ${TESTDIR}/test_util.sh
[461541a]5
[3c30b59]6bigbird=`$eloc/creddy --keyid --cert Bigbird_ID.pem`
7coyote=`$eloc/creddy --keyid --cert Coyote_ID.pem`
[461541a]8
9rule="$coyote.sneaky_friend<-$bigbird"
10
[3c30b59]11runTest "creddy_tests/attribute_rule.sh" "test1"  \
12"$eloc/creddy --attribute \
[461541a]13       --issuer Coyote_ID.pem --key Coyote_private.pem \
14       --attrrule "$rule" \
[3c30b59]15       --out Coyote_sneakyFriend__Bigbird_attr.xml"  \
160  "trying making attribute using attrrule option"
[461541a]17
[3c30b59]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"
[461541a]21
Note: See TracBrowser for help on using the repository browser.