BIND 10 experiments/fix-dhcp-test, updated. 950793925a8a21dd9449cf8471d6f75a5fa64901 [experiments/fix-dhcp-test] disable dhcp4 tests too

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Nov 8 16:34:11 UTC 2012


The branch, experiments/fix-dhcp-test has been updated
       via  950793925a8a21dd9449cf8471d6f75a5fa64901 (commit)
      from  08d87cd87663b46a6a7a85fa045fc065c12c52ef (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 950793925a8a21dd9449cf8471d6f75a5fa64901
Author: Jelte Jansen <jelte at isc.org>
Date:   Thu Nov 8 17:33:59 2012 +0100

    [experiments/fix-dhcp-test] disable dhcp4 tests too

-----------------------------------------------------------------------

Summary of changes:
 src/bin/dhcp4/tests/dhcp4_test.py |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/dhcp4/tests/dhcp4_test.py b/src/bin/dhcp4/tests/dhcp4_test.py
index 444dfcf..768983f 100644
--- a/src/bin/dhcp4/tests/dhcp4_test.py
+++ b/src/bin/dhcp4/tests/dhcp4_test.py
@@ -134,7 +134,7 @@ class TestDhcpv4Daemon(unittest.TestCase):
 
         return (rc, output, error)
 
-    def test_alive(self):
+    def DISABLED_test_alive(self):
         print("Note: Purpose of some of the tests is to check if DHCPv4 server can be started,")
         print("      not that is can bind sockets correctly. Please ignore binding errors.")
 
@@ -142,7 +142,7 @@ class TestDhcpv4Daemon(unittest.TestCase):
         output_text = str(output) + str(error)
         self.assertEqual(output_text.count("DHCP4_STARTING"), 1)
 
-    def test_portnumber_0(self):
+    def DISABLED_test_portnumber_0(self):
         print("Check that specifying port number 0 is not allowed.")
 
         (returncode, output, error) = self.runCommand(['../b10-dhcp4', '-v', '-p', '0'])
@@ -153,7 +153,7 @@ class TestDhcpv4Daemon(unittest.TestCase):
         # Check that there is an error message about invalid port number printed on stderr
         self.assertEqual( str(error).count("Failed to parse port number"), 1)
 
-    def test_portnumber_missing(self):
+    def DISABLED_test_portnumber_missing(self):
         print("Check that -p option requires a parameter.")
 
         (returncode, output, error) = self.runCommand(['../b10-dhcp4', '-p'])
@@ -164,7 +164,7 @@ class TestDhcpv4Daemon(unittest.TestCase):
         # Check that there is an error message about invalid port number printed on stderr
         self.assertEqual( str(error).count("option requires an argument"), 1)
 
-    def test_portnumber_invalid1(self):
+    def DISABLED_test_portnumber_invalid1(self):
         print("Check that -p option is check against bogus port number (999999).")
 
         (returncode, output, error) = self.runCommand(['../b10-dhcp4', '-p','999999'])
@@ -175,7 +175,7 @@ class TestDhcpv4Daemon(unittest.TestCase):
         # Check that there is an error message about invalid port number printed on stderr
         self.assertEqual( str(error).count("Failed to parse port number"), 1)
 
-    def test_portnumber_invalid2(self):
+    def DISABLED_test_portnumber_invalid2(self):
         print("Check that -p option is check against bogus port number (123garbage).")
 
         (returncode, output, error) = self.runCommand(['../b10-dhcp4', '-p','123garbage'])
@@ -186,7 +186,7 @@ class TestDhcpv4Daemon(unittest.TestCase):
         # Check that there is an error message about invalid port number printed on stderr
         self.assertEqual( str(error).count("Failed to parse port number"), 1)
 
-    def test_portnumber_nonroot(self):
+    def DISABLED_test_portnumber_nonroot(self):
         print("Check that specifying unprivileged port number will work.")
 
         # Check that there is a message about running with an unprivileged port
@@ -194,7 +194,7 @@ class TestDhcpv4Daemon(unittest.TestCase):
         output_text = str(output) + str(error)
         self.assertEqual(output_text.count("DHCP4_OPEN_SOCKET opening sockets on port 10057"), 1)
 
-    def test_skip_msgq(self):
+    def DISABLED_test_skip_msgq(self):
         print("Check that connection to BIND10 msgq can be disabled.")
 
         # Check that the system outputs a message on one of its streams about running



More information about the bind10-changes mailing list