source: examples/passphrase_tests/creddy/run_test @ d0efdec

mei_rt2
Last change on this file since d0efdec was 2e9455f, checked in by Mei <mei@…>, 11 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: 335 bytes
Line 
1#!/bin/sh
2
3./creddy_test_auto  1> auto.tmp 2>& 1 
4
5result=`diff -I "Restoring file" -I "YAP 6.3" auto.tmp auto.save 2>/dev/null`
6if [ $? -eq 0 ]; then
7    if [ "$result" = "" ]; then
8       echo "   PASSED"
9    else
10       echo "   ERROR:creddy test result differs!!!"
11    fi
12else
13    echo "   ERROR:creddy test result differs!!!"
14fi
15
Note: See TracBrowser for help on using the repository browser.