50d9fb
From e3856204645c6547a7aae854e4f4138710864612 Mon Sep 17 00:00:00 2001
50d9fb
From: Evan Hunt <each@isc.org>
50d9fb
Date: Wed, 11 Oct 2017 08:51:03 -0700
50d9fb
Subject: [PATCH] Move KRB5_CONFIG=/dev/null to conf.sh.* so the named run in
50d9fb
 the tests gets the setting
50d9fb
50d9fb
(cherry picked from commit 74f46c45b0868219512f52bb54d105ed65212f71)
50d9fb
---
50d9fb
 bin/tests/system/conf.sh.in       | 4 ++++
50d9fb
 bin/tests/system/conf.sh.win32    | 4 ++++
50d9fb
 bin/tests/system/tsiggss/tests.sh | 4 ----
50d9fb
 3 files changed, 8 insertions(+), 4 deletions(-)
50d9fb
50d9fb
diff --git a/bin/tests/system/conf.sh.in b/bin/tests/system/conf.sh.in
50d9fb
index 8f73dbf..7b99e83 100644
50d9fb
--- a/bin/tests/system/conf.sh.in
50d9fb
+++ b/bin/tests/system/conf.sh.in
50d9fb
@@ -67,6 +67,9 @@ MAKEJOURNAL=$TOP/bin/tests/makejournal
50d9fb
 PIPEQUERIES=$TOP/bin/tests/system/pipelined/pipequeries
50d9fb
 SAMPLEUPDATE=$TOP/lib/samples/sample-update
50d9fb
 
50d9fb
+# we don't want a KRB5_CONFIG setting breaking the tests
50d9fb
+KRB5_CONFIG=/dev/null
50d9fb
+
50d9fb
 # The "stress" test is not run by default since it creates enough
50d9fb
 # load on the machine to make it unusable to other users.
50d9fb
 # v6synth
50d9fb
@@ -150,6 +153,7 @@ export KEYFRLAB
50d9fb
 export KEYGEN
50d9fb
 export KEYSETTOOL
50d9fb
 export KEYSIGNER
50d9fb
+export KRB5_CONFIG
50d9fb
 export LWRESD
50d9fb
 export LWTEST
50d9fb
 export MAKEJOURNAL
50d9fb
diff --git a/bin/tests/system/conf.sh.win32 b/bin/tests/system/conf.sh.win32
50d9fb
index e2d7855..55175b4 100644
50d9fb
--- a/bin/tests/system/conf.sh.win32
50d9fb
+++ b/bin/tests/system/conf.sh.win32
50d9fb
@@ -73,6 +73,9 @@ LWTEST=$TOP/Build/$VSCONF/lwtest@EXEEXT@
50d9fb
 MAKEJOURNAL=$TOP/Build/$VSCONF/makejournal@EXEEXT@
50d9fb
 PIPEQUERIES=$TOP/Build/$VSCONF/pipequeries@EXEEXT@
50d9fb
 
50d9fb
+# we don't want a KRB5_CONFIG setting breaking the tests
50d9fb
+KRB5_CONFIG=/dev/null
50d9fb
+
50d9fb
 # The "stress" test is not run by default since it creates enough
50d9fb
 # load on the machine to make it unusable to other users.
50d9fb
 # v6synth
50d9fb
@@ -150,6 +153,7 @@ export KEYFRLAB
50d9fb
 export KEYGEN
50d9fb
 export KEYSETTOOL
50d9fb
 export KEYSIGNER
50d9fb
+export KRB5_CONFIG
50d9fb
 export LWRESD
50d9fb
 export LWTEST
50d9fb
 export MAKEJOURNAL
50d9fb
diff --git a/bin/tests/system/tsiggss/tests.sh b/bin/tests/system/tsiggss/tests.sh
50d9fb
index 7576a93..2198cf1 100644
50d9fb
--- a/bin/tests/system/tsiggss/tests.sh
50d9fb
+++ b/bin/tests/system/tsiggss/tests.sh
50d9fb
@@ -15,10 +15,6 @@ status=0
50d9fb
 
50d9fb
 DIGOPTS="@10.53.0.1 -p 5300"
50d9fb
 
50d9fb
-# we don't want a KRB5_CONFIG setting breaking the tests
50d9fb
-KRB5_CONFIG=/dev/null
50d9fb
-export KRB5_CONFIG
50d9fb
-
50d9fb
 test_update() {
50d9fb
     host="$1"
50d9fb
     type="$2"
50d9fb
-- 
50d9fb
2.9.5
50d9fb