BIND 10 #156: boolean tests failure

BIND 10 Development do-not-reply at isc.org
Tue Apr 20 18:08:36 UTC 2010


#156: boolean tests failure
--------------------------+-------------------------------------------------
 Reporter:  jreed         |       Owner:     
     Type:  defect        |      Status:  new
 Priority:  major         |   Milestone:     
Component:  Unclassified  |    Keywords:     
Sensitive:  0             |  
--------------------------+-------------------------------------------------
 Opening this ticket to keep track of this.

 Jelte provided various different patches to fix or to workaround this
 problem.

 {{{

 make  check-local
 for pytest in data_test.py session_test.py test.py ; do  echo Running
 test: $pytest ;  env
 PYTHONPATH=/home/reed/work/isc/bind10/svn/branches/trac153/src/lib/python
 /usr/pkg/bin/python3.1 $pytest ;  done
 Running test: data_test.py
 .......
 ----------------------------------------------------------------------
 Ran 7 tests in 0.005s

 OK
 Running test: session_test.py
 ..........
 ----------------------------------------------------------------------
 Ran 10 tests in 0.010s

 OK
 Running test: test.py
 ...........FF........
 ======================================================================
 FAIL: test_to_wire_of_bool_false (__main__.TestCCWireEncoding)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "test.py", line 87, in test_to_wire_of_bool_false
     self.assertEqual(wire, b'Skan\x04bool%\x01\x00')
 AssertionError: b'Skan\x04bool%\x010' != b'Skan\x04bool%\x01\x00'

 ======================================================================
 FAIL: test_to_wire_of_bool_true (__main__.TestCCWireEncoding)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "test.py", line 83, in test_to_wire_of_bool_true
     self.assertEqual(wire, b'Skan\x04bool%\x01\x01')
 AssertionError: b'Skan\x04bool%\x011' != b'Skan\x04bool%\x01\x01'

 ----------------------------------------------------------------------
 Ran 21 tests in 0.007s

 FAILED (failures=2)
 *** Error code 1

 Stop.
 make: stopped in
 /home/reed/work/isc/bind10/svn/branches/trac153/src/lib/python/isc/cc/tests
 *** Error code 1

 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/156>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list