mei_rt2mei_rt2_fix_1
Last change
on this file since 373bf68 was
bea18ef,
checked in by Mei <mei@…>, 12 years ago
|
1) add more tiny prover tests in examples/example_scripts
2) reverted the changes to ABAC_VERSION in libabac's abac_util.c
|
-
Property mode set to
100755
|
File size:
665 bytes
|
Rev | Line | |
---|
[ba6027a] | 1 | #!/bin/sh |
---|
| 2 | |
---|
[bea18ef] | 3 | make -s realclean |
---|
| 4 | |
---|
[ba6027a] | 5 | echo '---running (perl) id script' |
---|
[bea18ef] | 6 | make -s run 1>/dev/null 2>&1 |
---|
[ba6027a] | 7 | result=`grep OKAY id.log 2>/dev/null` |
---|
| 8 | if [ "$result" = "" ]; then |
---|
| 9 | echo " ERROR" |
---|
| 10 | else |
---|
| 11 | echo " PASSED" |
---|
| 12 | fi |
---|
| 13 | |
---|
| 14 | echo '---running (perl) id script, expected failure' |
---|
[bea18ef] | 15 | make -s bad 1>/dev/null 2>&1 |
---|
[ba6027a] | 16 | result=`grep "Id creation from filename failed" id2.log 2>/dev/null` |
---|
| 17 | if [ "$result" = "" ]; then |
---|
| 18 | echo " ERROR" |
---|
| 19 | else |
---|
| 20 | echo " PASSED" |
---|
| 21 | fi |
---|
[bea18ef] | 22 | |
---|
| 23 | echo '---running (perl) prover script, expected failure' |
---|
| 24 | make -s prove 1>/dev/null 2>&1 |
---|
| 25 | result=`grep "YAP query failed" prover.log 2>/dev/null` |
---|
| 26 | if [ "$result" = "" ]; then |
---|
| 27 | echo " ERROR" |
---|
| 28 | else |
---|
| 29 | echo " PASSED" |
---|
| 30 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.