conf.sh.in 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #!/bin/sh
  2. #
  3. # Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
  4. # Copyright (C) 2000-2003 Internet Software Consortium.
  5. #
  6. # Permission to use, copy, modify, and/or distribute this software for any
  7. # purpose with or without fee is hereby granted, provided that the above
  8. # copyright notice and this permission notice appear in all copies.
  9. #
  10. # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
  11. # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  12. # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
  13. # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  14. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  15. # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  16. # PERFORMANCE OF THIS SOFTWARE.
  17. #
  18. # Common configuration data for system tests, to be sourced into
  19. # other shell scripts.
  20. #
  21. # Prerequisite check
  22. if [ @srcdir@ != @builddir@ ]; then
  23. echo "Currently systest doesn't work for a separate build tree."
  24. echo "Rebuild BIND 10 on the source tree and run the tests."
  25. exit 1
  26. fi
  27. # Find the top of the source tree.
  28. TOP=@abs_top_srcdir@
  29. RUN_BIND10=$TOP/src/bin/bind10/run_bind10.sh
  30. B10_LOADZONE=$TOP/src/bin/loadzone/run_loadzone.sh
  31. BIND9_NAMED=$BIND9_TOP/bin/named/named
  32. DIG=$BIND9_TOP/bin/dig/dig
  33. SUBDIRS="glue"
  34. #SUBDIRS="dnssec glue masterfile xfer"
  35. # PERL will be an empty string if no perl interpreter was found.
  36. PERL=@PERL@
  37. export RUN_BIND10 BIND9_NAMED DIG SUBDIRS PERL