Files
bind9/unit/unittest.sh.in

16 lines
224 B
Bash

#!/bin/sh
PATH="@ATFBIN@:${PATH}"
export PATH
if [ -n "@ATFBIN@" ]
then
atf-run > atf.out
status=$?
# | cat is there to force non-fancy output
atf-report < atf.out | cat
[ $status -eq 0 ] && rm -f atf.out
fi