source: examples/example_scripts/c/run_test @ d6439d4

abac0-leakabac0-meimei-idmei-rt0-nmei_rt0tvf-new-xml
Last change on this file since d6439d4 was 4721618, checked in by Mei <mei@…>, 12 years ago

1) tested out python and perl test scripts along with

abac_chunk_t calls in libabac's abac.hh

  • Property mode set to 100755
File size: 416 bytes
RevLine 
[4721618]1#!/bin/sh
2
3make -s clean
4
5echo '---running (c) attr script'
6make attr 1>/dev/null 2>& 1
7result=`grep "attr success" attr.log 2>/dev/null`
8if [ "$result" = "" ]; then
9   echo "   ERROR"
10else   
11   echo "   PASSED"
12fi
13
14echo '---running (c) prover script'
15make prove 1>/dev/null 2>& 1
16result=`grep "prover success" prover.log 2>/dev/null`
17if [ "$result" = "" ]; then
18   echo "   ERROR"
19else   
20   echo "   PASSED"
21fi
22
Note: See TracBrowser for help on using the repository browser.