repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove building with NOCRYPTO option
[minix.git]
/
external
/
bsd
/
bind
/
dist
/
unit
/
unittest.sh.in
blob
f3865ceb69fc9e0d5a7eecb6c2f5825c68b99ce6
1
#!/bin/sh
2
3
PATH
=
"@ATFBIN@:
${PATH}
"
4
export
PATH
5
6
status
=
0
7
if
[
-n
"@ATFBIN@"
-a -f
Atffile
]
8
then
9
echo
"I: unit tests"
10
atf-run
>
atf.out
11
status
=
$?
12
13
# | cat is there to force non-fancy output
14
atf-report
<
atf.out |
cat
15
16
if
[
$status
-eq
0
]
17
then
18
rm
-f
atf.out
19
echo
R
:
PASS
20
else
21
echo
R
:
FAIL
22
fi
23
fi
24
exit
$status