From: Vsevolod Stakhov Date: Wed, 17 Sep 2014 11:39:21 +0000 (+0100) Subject: Improve test vector. X-Git-Tag: 0.7.1~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebb2128e867abbec8e7f568133821108e51ad76e;p=thirdparty%2Frspamd.git Improve test vector. --- diff --git a/test/rspamd_radix_test.c b/test/rspamd_radix_test.c index db430b583e..95650232d8 100644 --- a/test/rspamd_radix_test.c +++ b/test/rspamd_radix_test.c @@ -40,9 +40,10 @@ struct _tv { {"192.168.1.1", "192.168.1.2", "32", 0, 0, 0, 0}, {"192.168.1.0", "192.168.2.1", "24", 0, 0, 0, 0}, {"192.0.0.0", "193.167.2.1", "8", 0, 0, 0, 0}, - {"172.16.1.1", "171.16.1.0", "8", 0, 0, 0, 0}, - {"172.16.1.1", "127.0.0.1", "16", 0, 0, 0, 0}, - {"172.16.1.1", "10.0.0.1", "24", 0, 0, 0, 0}, + {"172.0.0.0", "171.16.1.0", "8", 0, 0, 0, 0}, + {"172.16.0.1", "127.0.0.1", "16", 0, 0, 0, 0}, + {"172.17.1.0", "10.0.0.1", "27", 0, 0, 0, 0}, + {"172.17.1.1", "0.0.0.1", "32", 0, 0, 0, 0}, {NULL, NULL, NULL, 0, 0, 0, 0} };