Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / unit / unittest.sh.in
blobf3865ceb69fc9e0d5a7eecb6c2f5825c68b99ce6
1 #!/bin/sh
3 PATH="@ATFBIN@:${PATH}"
4 export PATH
6 status=0
7 if [ -n "@ATFBIN@" -a -f Atffile ]
8 then
9 echo "I: unit tests"
10 atf-run > atf.out
11 status=$?
13 # | cat is there to force non-fancy output
14 atf-report < atf.out | cat
16 if [ $status -eq 0 ]
17 then
18 rm -f atf.out
19 echo R:PASS
20 else
21 echo R:FAIL
24 exit $status