source: tests/example_scripts/wiki/id4.ck @ bceef20

abac0-leakabac0-mei
Last change on this file since bceef20 was ec550f7, checked in by Mei <mei@…>, 11 years ago

1) reworked how API doc is generated
2) tweak top level Makefile.am
3) loading issuer principal as side-effect of loading

an attribute credentials

4) add examples of GENI specific attribute credentials

and principal certificates into the regression testing

5) rename examples to tests

  • Property mode set to 100755
File size: 274 bytes
Line 
1#!/bin/sh
2
3# id4.ck
4r1=`grep "id has privkey 1" id4.out 2>/dev/null |wc -l`
5r2=`grep "id1 has privkey 1" id4.out 2>/dev/null |wc -l`
6r3=`grep "id2 has privkey 0" id4.out 2>/dev/null |wc -l`
7
8if [ $r1 -eq 1 -a $r2 -eq 1 -a $r3 -eq 1 ]; then
9    return 0
10else
11    return 1
12fi
Note: See TracBrowser for help on using the repository browser.