source: tests/scaling_tests/daisychain/likes_python/base/PROVE.sh

Last change on this file 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: 486 bytes
Line 
1#!/usr/bin/env sh
2
3if [ -z "${TESTDIR}" ] ; then
4    TESTDIR=../../../..
5fi
6. $(TESTDIR)/test_util.sh
7
8keystore=`pwd`
9pID=`$eloc/creddy --keyid --cert ${keystore}/John#VAL#_ID.pem`
10cID=`$eloc/creddy --keyid --cert ${keystore}/John0_ID.pem`
11
12#JohnX likes John0?
13
14role="${pID}.likes"
15principal="${cID}"
16
17$keystore/../../../../example_scripts/c/abac_prover "$keystore" "$role" "$principal"
18
19#echo "$keystore" "$role" "$principal"
20#gdb $keystore/../../../../example_scripts/c/abac_prover
21
22
Note: See TracBrowser for help on using the repository browser.