]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[705-wipe_data-sh-and-other-upgrade_-scripts-do-not-set-prefix] Revert "[705-wipe_dat... 705-wipe_data-sh-and-other-upgrade_-scripts-do-not-set-prefix
authorFrancis Dupont <fdupont@isc.org>
Tue, 2 Jul 2019 11:27:43 +0000 (13:27 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 2 Jul 2019 15:20:41 +0000 (11:20 -0400)
This reverts commit 7fe457cb301772093ff7002c9a3be12b25f7d73b.

Reviewer asked this to be reverted as overkilling.

12 files changed:
src/bin/admin/tests/cql_tests.sh.in
src/bin/admin/tests/memfile_tests.sh.in
src/bin/admin/tests/mysql_tests.sh.in
src/bin/admin/tests/pgsql_tests.sh.in
src/bin/agent/tests/ca_process_tests.sh.in
src/bin/d2/tests/d2_process_tests.sh.in
src/bin/dhcp4/tests/dhcp4_process_tests.sh.in
src/bin/dhcp6/tests/dhcp6_process_tests.sh.in
src/bin/keactrl/tests/keactrl_tests.sh.in
src/bin/netconf/tests/shtests/netconf_tests.sh.in
src/bin/shell/tests/shell_process_tests.sh.in
src/lib/testutils/dhcp_test_lib.sh.in

index 9af1c502cc7199c2d4f36ade80117ab2e6dea0c3..7fa681028aa7e125e03377f6746f4a237367976e 100644 (file)
@@ -6,7 +6,6 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-prefix=@prefix@
 # Include common test library.
 . @abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh
 
index edc40402dc3169ef57b53daab40ea85ce1cf7f2e..682a411e0cab3dc3f76b4f1e2d28333523f2a2df 100644 (file)
@@ -1,12 +1,11 @@
 #!/bin/sh
 
-# Copyright (C) 2014-2019 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2014-2018 Internet Systems Consortium, Inc. ("ISC")
 #
 # 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 http://mozilla.org/MPL/2.0/.
 
-prefix=@prefix@
 # Include common test library.
 . @abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh
 
index c39571c577f35cd2e2fab8cd9b20c4e7d1d87a2e..ecde4117e93e4eb1700c4fba3c13833a9117caba 100644 (file)
@@ -6,7 +6,6 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-prefix=@prefix@
 # Include common test library.
 . @abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh
 
index 61ae078410a725850855a4aa4043732e49479d47..2cd660cd3424661ddb7111b6c870aa3950799774 100644 (file)
@@ -1,12 +1,11 @@
 #!/bin/sh
 
-# Copyright (C) 2015-2019 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2015-2018 Internet Systems Consortium, Inc. ("ISC")
 #
 # 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 http://mozilla.org/MPL/2.0/.
 
-prefix=@prefix@
 # Include common test library.
 . @abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh
 
index 38d220e98f732075332517594d206bbda2c6ec98..498e600fa8e39312d78841760cb6676a85c61261 100644 (file)
@@ -1,10 +1,9 @@
-# Copyright (C) 2016-2019 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2016-2017 Internet Systems Consortium, Inc. ("ISC")
 #
 # 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 http://mozilla.org/MPL/2.0/.
 
-prefix=@prefix@
 # Path to the temporary configuration file.
 CFG_FILE=@abs_top_builddir@/src/bin/agent/tests/test_config.json
 # Path to the Control Agent log file.
index 7afd860b3753987d45ba18893c0f285ed1d7663d..6927dac2b8b6a977bce5b9143672a033a5897cfb 100644 (file)
@@ -1,10 +1,9 @@
-# Copyright (C) 2014-2019 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2014-2017 Internet Systems Consortium, Inc. ("ISC")
 #
 # 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 http://mozilla.org/MPL/2.0/.
 
-prefix=@prefix@
 # Path to the temporary configuration file.
 CFG_FILE=@abs_top_builddir@/src/bin/d2/tests/test_config.json
 # Path to the D2 log file.
index 57223b3ec1cea30cdcb957e89808e873022bfa96..96cba300bc1ff90895c6ecfc9d4b4871650956fc 100644 (file)
@@ -1,10 +1,9 @@
-# Copyright (C) 2014-2019 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2014-2017 Internet Systems Consortium, Inc. ("ISC")
 #
 # 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 http://mozilla.org/MPL/2.0/.
 
-prefix=@prefix@
 # Path to the temporary configuration file.
 CFG_FILE=@abs_top_builddir@/src/bin/dhcp4/tests/test_config.json
 # Path to the Kea log file.
index ca11496fce573a543b1c29c70ca68a817846cd08..ab7d419cc4fb72c939dfc60f99a17c4da8f0ba8c 100644 (file)
@@ -1,12 +1,9 @@
-#!/bin/sh
-
-# Copyright (C) 2014-2019 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2014-2017 Internet Systems Consortium, Inc. ("ISC")
 #
 # 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 http://mozilla.org/MPL/2.0/.
 
-prefix=@prefix@
 # Path to the temporary configuration file.
 CFG_FILE=@abs_top_builddir@/src/bin/dhcp6/tests/test_config.json
 # Path to the Kea log file.
index 2c4a31bef436d598102726330784e95520a18f4a..860054b26d0d18958e70fb4e2162261c1508af7a 100644 (file)
@@ -6,7 +6,6 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-prefix=@prefix@
 # Include common test library.
 . @abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh
 
index ba311b69d42c9d1163d8bd9c6fca671833074fcf..306d4e08efb1d37af2bd0534fdeb39a9f382aba0 100644 (file)
@@ -1,12 +1,9 @@
-#!/bin/sh
-
-# Copyright (C) 2018-2019 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
 #
 # 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 http://mozilla.org/MPL/2.0/.
 
-prefix=@prefix@
 # Path to the temporary configuration file.
 CFG_FILE=@abs_top_builddir@/src/bin/netconf/tests/shtests/test_config.json
 # Path to the Kea log file.
index f1345e340375d9a27040f9a1d28be8ef3027392b..3a9545c48974a60e5b6dcff39e244643fa3841e9 100644 (file)
@@ -4,7 +4,6 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-prefix=@prefix@
 # Path to the temporary configuration file.
 CFG_FILE=@abs_top_builddir@/src/bin/shell/tests/test_config.json
 # Path to the Control Agent log file.
index 3a8afb390d33663b75da9cfc93b55246551af5a8..462522ca7e99d73df0ee48eef5607702270094da 100644 (file)
@@ -803,9 +803,3 @@ server_pid_file_test() {
     # All ok. Shut down the server and exit.
     test_finish 0
 }
-
-# Verify that prefix was set by the includer.
-if [ -z ${prefix+x} ]; then
-    printf "internal error: \${prefix} must be set\n"
-    clean_exit 1
-fi