Browse Source

[trac606] added an explicit check to see if BIND9_TOP is set.

JINMEI Tatuya 14 years ago
parent
commit
4596c143ea
1 changed files with 7 additions and 0 deletions
  1. 7 0
      tests/system/conf.sh.in

+ 7 - 0
tests/system/conf.sh.in

@@ -27,6 +27,13 @@ if [ @srcdir@ != @builddir@ ]; then
 	exit 1
 fi
 
+if [ -z $BIND9_TOP ]; then
+	echo "systest assumes there's a compiled tree of BIND 9 which can be"
+	echo "accessed via the BIND9_TOP environment variable."
+	echo "Please make sure this assumption is met."
+	exit 1
+fi
+
 # Find the top of the source tree.
 TOP=@abs_top_srcdir@