unit: Test ippool collision differently
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 12 Jun 2013 08:02:58 +0000 (11:02 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 12 Jun 2013 12:53:46 +0000 (15:53 +0300)
commite51fdfd3d78b6513d5968d217ae0a1e73a7a490e
tree50efdd9bdbb97291ef81b93461285dc05ff59ed8
parent35ccdc87f8b6854703eaf9812466e484dd276e0a
unit: Test ippool collision differently

Existing tests did not test this scenario:
* new address is registered to 192.168.1.2
* ippool is created to 192.168.0.1 (no collision)
* ippool is created to 192.168.2.1 (there is a collision and the
  code should skip the 192.168.1.1 range)
unit/test-ippool.c