source:
examples/creddy_prover_tests/runcheck
@
2c03e57
Last change on this file since 2c03e57 was 43478b1, checked in by , 12 years ago | |
---|---|
|
|
File size: 538 bytes |
Rev | Line | |
---|---|---|
[5110d42] | 1 | #!/bin/sh |
2 | ||
3 | rm -rf allout.cn allout.sha | |
4 | ||
[ba6027a] | 5 | ./.runall clean 1 >/dev/null 2>&1 |
6 | ./.runall setup 1 >/dev/null 2>&1 | |
[e3462b4] | 7 | |
[43478b1] | 8 | ABAC_PROVER_PATH=`which abac_prover_yap | sed 's/\/abac_prover_yap//'` |
[5110d42] | 9 | export ABAC_PROVER_PATH |
10 | ||
[e3462b4] | 11 | echo '\n' |
[d9c3886] | 12 | echo 'running libabac CREDDY/ABAC_PROVER_YAP testing...' |
[5110d42] | 13 | echo ' ---with sha' |
[e3462b4] | 14 | env ./.runall run 1> allout.sha 2>/dev/null |
[5110d42] | 15 | echo ' ---with cn' |
[e3462b4] | 16 | env ABAC_CN=1 ./.runall run 1> allout.cn 2>/dev/null |
[5110d42] | 17 | result=`diff allout.cn allout.save` |
18 | ||
19 | if [ "$result" = "" ]; then | |
20 | echo " PASSED" | |
21 | else | |
22 | echo " ERROR:got changes!!!" | |
23 | fi |
Note: See TracBrowser
for help on using the repository browser.