source: examples/example_scripts/perl/run_test @ c7df2ad

mei_rt2mei_rt2_fix_1
Last change on this file since c7df2ad was ba6027a, checked in by Mei <mei@…>, 12 years ago

1) modified code all around to add support for encrypted private key for

ID credential

2) add new abac_key_t structure (abac_key.c)
3) add new keycheck option to creddy
4) add 2 new test suites

  • Property mode set to 100755
File size: 418 bytes
Line 
1#!/bin/sh
2
3echo '---running (perl) id script'
4make run 1>/dev/null 2>& 1
5result=`grep OKAY id.log 2>/dev/null`
6if [ "$result" = "" ]; then
7   echo "   ERROR"
8else   
9   echo "   PASSED"
10fi
11
12echo '---running (perl) id script, expected failure'
13make bad 1>/dev/null 2>& 1
14result=`grep "Id creation from filename failed" id2.log 2>/dev/null`
15if [ "$result" = "" ]; then
16   echo "   ERROR"
17else   
18   echo "   PASSED"
19fi
Note: See TracBrowser for help on using the repository browser.