]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove obsolete dnspython prerequisite checks
authorNicki Křížek <nicki@isc.org>
Thu, 27 Nov 2025 13:13:32 +0000 (14:13 +0100)
committerNicki Křížek <nicki@isc.org>
Fri, 28 Nov 2025 10:24:11 +0000 (11:24 +0100)
dnspython has been mandatory to run system test for quite a while.
Remove all extraneous checks for this module from prereq.sh scipts.

bin/tests/system/chain/prereq.sh
bin/tests/system/cookie/prereq.sh [deleted file]
bin/tests/system/digdelv/prereq.sh
bin/tests/system/dnssec/prereq.sh
bin/tests/system/forward/prereq.sh
bin/tests/system/qmin/prereq.sh [deleted file]

index fe84055246e0b9a4be136ce8bbda76240deec1c4..0d6e2b45d41cf40812236143bd874001b4c10fe6 100644 (file)
 
 . ../conf.sh
 
-if ! ${PYTHON} -c 'import dns'; then
-  echo_i "python dns module is required"
-  exit 1
-fi
-
 if ! ${PERL} -MNet::DNS -e ''; then
   echo_i "perl Net::DNS module is required"
   exit 1
diff --git a/bin/tests/system/cookie/prereq.sh b/bin/tests/system/cookie/prereq.sh
deleted file mode 100644 (file)
index b6b005f..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-#
-# SPDX-License-Identifier: MPL-2.0
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0.  If a copy of the MPL was not distributed with this
-# file, you can obtain one at https://mozilla.org/MPL/2.0/.
-#
-# See the COPYRIGHT file distributed with this work for additional
-# information regarding copyright ownership.
-
-. ../conf.sh
-
-if ! ${PYTHON} -c 'import dns'; then
-  echo_i "python dns module is required"
-  exit 1
-fi
-
-exit 0
index 32889aa2518b49abb3ed5ac4898434dc4e8f09d9..c52be9c97a976550c2d1de7863130e71ceaca373 100644 (file)
 
 . ../conf.sh
 
-if ! ${PYTHON} -c 'import dns'; then
-  echo_i "python dns module is required"
-  exit 1
-fi
-
 if ! ${PERL} -MNet::DNS -e ''; then
   echo_i "perl Net::DNS module is required"
   exit 1
index 32889aa2518b49abb3ed5ac4898434dc4e8f09d9..c52be9c97a976550c2d1de7863130e71ceaca373 100644 (file)
 
 . ../conf.sh
 
-if ! ${PYTHON} -c 'import dns'; then
-  echo_i "python dns module is required"
-  exit 1
-fi
-
 if ! ${PERL} -MNet::DNS -e ''; then
   echo_i "perl Net::DNS module is required"
   exit 1
index 32889aa2518b49abb3ed5ac4898434dc4e8f09d9..c52be9c97a976550c2d1de7863130e71ceaca373 100644 (file)
 
 . ../conf.sh
 
-if ! ${PYTHON} -c 'import dns'; then
-  echo_i "python dns module is required"
-  exit 1
-fi
-
 if ! ${PERL} -MNet::DNS -e ''; then
   echo_i "perl Net::DNS module is required"
   exit 1
diff --git a/bin/tests/system/qmin/prereq.sh b/bin/tests/system/qmin/prereq.sh
deleted file mode 100644 (file)
index b6b005f..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
-#
-# SPDX-License-Identifier: MPL-2.0
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0.  If a copy of the MPL was not distributed with this
-# file, you can obtain one at https://mozilla.org/MPL/2.0/.
-#
-# See the COPYRIGHT file distributed with this work for additional
-# information regarding copyright ownership.
-
-. ../conf.sh
-
-if ! ${PYTHON} -c 'import dns'; then
-  echo_i "python dns module is required"
-  exit 1
-fi
-
-exit 0