]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
only run test if ATFBIN defined
authorMark Andrews <marka@isc.org>
Sun, 27 Feb 2011 14:12:16 +0000 (14:12 +0000)
committerMark Andrews <marka@isc.org>
Sun, 27 Feb 2011 14:12:16 +0000 (14:12 +0000)
unit/unittest.sh.in

index 17974dee39fab192d87aa242df86830b76f1cf73..2f418ce27a72365497d319ae4af0effe05708a76 100644 (file)
@@ -3,4 +3,7 @@
 PATH=${PATH}:@ATFBIN@
 export PATH
 
-atf-run | atf-report
+if [ -n "@ATFBIN@" ]
+then
+       atf-run | atf-report
+fi