BIND 10 master, updated. d2861efce4cf71c924de470c48594727e0eba80f [master] tweak TestOSEnv just like stats-httpd_test to suppress log leak
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue May 7 20:33:46 UTC 2013
The branch, master has been updated
via d2861efce4cf71c924de470c48594727e0eba80f (commit)
from 70066be6e51afc479dc485dfdf9ab79169a9d3c1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d2861efce4cf71c924de470c48594727e0eba80f
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue May 7 13:32:05 2013 -0700
[master] tweak TestOSEnv just like stats-httpd_test to suppress log leak
also renamed the stats-httpd_test counterpart; it seemed to be tenntatively
named and left unchanged, so doesn't really make sense for what it does.
these should be trivial, so I'm committing this at my discretion.
-----------------------------------------------------------------------
Summary of changes:
src/bin/stats/tests/stats-httpd_test.py | 2 +-
src/bin/stats/tests/stats_test.py | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/stats/tests/stats-httpd_test.py b/src/bin/stats/tests/stats-httpd_test.py
index 84fac44..a61ee47 100644
--- a/src/bin/stats/tests/stats-httpd_test.py
+++ b/src/bin/stats/tests/stats-httpd_test.py
@@ -1104,7 +1104,7 @@ class TestStatsHttpd(unittest.TestCase):
self.assertEqual('@description', stats_xsl[2].find('%sif' % nst).attrib['test'])
self.assertEqual('@description', stats_xsl[2].find('%sif/%svalue-of' % ((nst,)*2)).attrib['select'])
-class Z_TestStatsHttpdError(unittest.TestCase):
+class Z_TestOSEnv(unittest.TestCase):
def test_for_without_B10_FROM_SOURCE(self):
# Note: this test is sensitive due to its substantial side effect of
# reloading. For exmaple, it affects tests that tweak module
diff --git a/src/bin/stats/tests/stats_test.py b/src/bin/stats/tests/stats_test.py
index 437f0a8..e010c97 100644
--- a/src/bin/stats/tests/stats_test.py
+++ b/src/bin/stats/tests/stats_test.py
@@ -1401,7 +1401,10 @@ class TestStats(unittest.TestCase):
stat.statistics_data['Init'],
{'boot_time': self.const_default_datetime})
-class TestOSEnv(unittest.TestCase):
+class Z_TestOSEnv(unittest.TestCase):
+ # Running this test would break logging setting. To prevent it from
+ # affecting other tests we use the same workaround as
+ # Z_TestStatsHttpdError.
def test_osenv(self):
"""
test for the environ variable "B10_FROM_SOURCE"
More information about the bind10-changes
mailing list