mei_rt2
Last change
on this file since 7751094 was
2e9455f,
checked in by Mei <mei@…>, 12 years ago
|
1) added namespace
2) tweak ?This,
3) allowing linking role/oset as constraining conditions
4) adding access_tests regression testing that uses GENI's access policy
5) added couple multi contexts regression tests
6) add compression/uncompression calls to abac_encode_string/abac_decode_string
(libstrongwan only allows 512 char for attribute rule storage)
7) add attribute_now option to creddy that takes a whole char string for attribute
rule
|
-
Property mode set to
100755
|
File size:
479 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | g_cmd_cn=`grep "cmd1:" attr.py |sed "s/cmd1://g" ` |
---|
4 | |
---|
5 | echo '---setup principals' |
---|
6 | ./setup.py 1>attr.log 2>&1 |
---|
7 | |
---|
8 | echo '---run command ' |
---|
9 | eval $g_cmd_cn 1>attr.cn 2>&1 |
---|
10 | |
---|
11 | result=`diff -I "Restoring file" -I "YAP 6.3" attr.cn attr.save 2>/dev/null` |
---|
12 | if [ $? -eq 0 ]; then |
---|
13 | if [ "$result" = "" ]; then |
---|
14 | echo " PASSED" |
---|
15 | else |
---|
16 | echo " ERROR:basic_attribute test result differs!!!" |
---|
17 | fi |
---|
18 | else |
---|
19 | echo " ERROR:basic_attribute test result differs!!!" |
---|
20 | fi |
---|
21 | |
---|
22 | |
---|
23 | |
---|
24 | |
---|
25 | |
---|
26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.