mbox

[0/3] network-functions.pl : Correct comparisons and enhance testsuite

Message ID 20191224125652.12232-1-ipfr@tfitzgeorge.me.uk
Headers

Message

Tim FitzGeorge Dec. 24, 2019, 12:56 p.m. UTC
  Fixes a number of minor bugs in network-functions.pl where comparisons of binary network
representations is done using string rather than integer comparision operators, and checks
for undefined values are done on the wrong variables.

Also enhances the testsuite to display information on failed test.

Fixes: 12263

Tim FitzGeorge (3):
  network-functions.pl : Enhance testsuite to show cause of error
  network-functions.pl : Compare correct variables in network_equal
  network-functions.pl : Use integer comparison rather than string

 config/cfgroot/network-functions.pl | 35 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)