BIND 10 #156: boolean tests failure

BIND 10 Development do-not-reply at isc.org
Tue Apr 20 19:26:05 UTC 2010


#156: boolean tests failure
--------------------------+-------------------------------------------------
 Reporter:  jreed         |        Owner:     
     Type:  defect        |       Status:  new
 Priority:  major         |    Milestone:     
Component:  Unclassified  |   Resolution:     
 Keywords:                |    Sensitive:  0  
--------------------------+-------------------------------------------------

Comment(by jelte):

 The tests expect the boolean representation to be 0x00 and 0x01, while the
 python code makes it the ascii value of '0' and '1' (and accepts both). I
 looked at the c++ code and it apparently wasn't consistent there either.

 Attached patch irons this out (i chose the ascii value, our tests use
 strings and 0x00 isn't really a fun value in null-terminated strings).

 After we resolve ticket #155 we can revisit this choice imo (also
 dependent on the discussion on whether we should have wireformat for
 boolean in the first place).

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


More information about the bind10-tickets mailing list