Making check in libxorp make[1]: Entering directory `/newxorp/libxorp' make check-am make[2]: Entering directory `/newxorp/libxorp' make test_asyncio test_callback test_config_param test_heap test_ipnet test_ipv4 test_ipv4net test_ipv6 test_ipv6net test_ipvx test_ipvxnet test_mac test_observers test_profile test_ref_ptr test_ref_trie test_run_command test_sched test_service test_task test_test_main test_time_slice test_timer test_timeval test_trie test_types test_utils test_vif make[3]: Entering directory `/newxorp/libxorp' make[3]: `test_asyncio' is up to date. make[3]: `test_callback' is up to date. make[3]: `test_config_param' is up to date. make[3]: `test_heap' is up to date. make[3]: `test_ipnet' is up to date. make[3]: `test_ipv4' is up to date. make[3]: `test_ipv4net' is up to date. make[3]: `test_ipv6' is up to date. make[3]: `test_ipv6net' is up to date. make[3]: `test_ipvx' is up to date. make[3]: `test_ipvxnet' is up to date. make[3]: `test_mac' is up to date. make[3]: `test_observers' is up to date. make[3]: `test_profile' is up to date. make[3]: `test_ref_ptr' is up to date. make[3]: `test_ref_trie' is up to date. make[3]: `test_run_command' is up to date. make[3]: `test_sched' is up to date. make[3]: `test_service' is up to date. make[3]: `test_task' is up to date. make[3]: `test_test_main' is up to date. make[3]: `test_time_slice' is up to date. make[3]: `test_timer' is up to date. make[3]: `test_timeval' is up to date. make[3]: `test_trie' is up to date. make[3]: `test_types' is up to date. make[3]: `test_utils' is up to date. make[3]: `test_vif' is up to date. make[3]: Leaving directory `/newxorp/libxorp' make check-TESTS make[3]: Entering directory `/newxorp/libxorp' FAIL: test_asyncio Widget event 3 Funky, Funky, Widget event 4 Funky, Funky, Funky, Funky, Funky, Funky, Funky, Funky, Widget event 5 SafeWidget event 0 SafeWidget event 1 SafeWidget event 2 SafeWidget event 3 SafeWidget event 4 PASS: test_callback PASS: test_config_param PASS: test_heap PASS: test_ipnet PASS: test_ipv4 Running: test_ipv4net_valid_constructors Running: test_ipv4net_invalid_constructors Running: test_ipv4net_operators Running: test_ipv4net_address_type Running: test_ipv4net_address_overlap Running: test_ipv4net_address_const Running: test_ipv4net_manipulate_address PASS: test_ipv4net PASS: test_ipv6 Running: test_ipv6net_valid_constructors Running: test_ipv6net_invalid_constructors Running: test_ipv6net_operators Running: test_ipv6net_address_type Running: test_ipv6net_address_overlap Running: test_ipv6net_address_const Running: test_ipv6net_manipulate_address PASS: test_ipv6net PASS: test_ipvx Running: test_ipvxnet_valid_constructors Running: test_ipvxnet_invalid_constructors Running: test_ipvxnet_operators Running: test_ipvxnet_address_type Running: test_ipvxnet_address_overlap Running: test_ipvxnet_address_const Running: test_ipvxnet_manipulate_address Running: test_ipvxnet_invalid_manipulate_address PASS: test_ipvxnet Running: test_mac_valid_constructors Running: test_mac_invalid_constructors Running: test_mac_valid_copy_in_out Running: test_mac_invalid_copy_in_out Running: test_mac_operators Running: test_mac_address_type Running: test_mac_address_const PASS: test_mac FAIL: test_observers FAIL: test_profile PASS: test_ref_ptr adding n1: 1.2.1.0/24 route: 0xbffff5ab ----------------------------------------------- looking up net: 1.2.1.0/24 PASS ----------- adding n2: 1.2.0.0/16 route: 0xbffff59f ----------------------------------------------- looking up net: 1.2.1.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- adding n3: 1.2.3.0/24 route: 0xbffff593 ----------------------------------------------- looking up net: 1.2.1.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.3.0/24 PASS ----------- adding n4: 1.2.128.0/24 route: 0xbffff587 ----------------------------------------------- looking up net: 1.2.1.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.3.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- adding n5: 1.2.0.0/20 route: 0xbffff57b ----------------------------------------------- looking up net: 1.2.1.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.3.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.0.0/20 PASS ----------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/20 PL *** node: 1.2.128.0/24 PL *** node: 1.2.0.0/16 PL --------------- ----------------------------------------------- looking up net: 1.2.1.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.3.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.128.0/24 PL *** node: 1.2.0.0/16 PL --------------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.3.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- ---- print trie --- *** node: 1.2.3.0/24 PL *** node: 1.2.128.0/24 PL *** node: 1.2.0.0/16 PL --------------- ----------------------------------------------- looking up net: 1.2.3.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- ---- print trie --- *** node: 1.2.3.0/24 PL *** node: 1.2.128.0/24 PL --------------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- ---- print trie --- *** node: 1.2.128.0/24 PL *** node: 1.2.0.0/16 PL --------------- adding n6: 1.2.192.0/24 route: 0xbffff56f ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.192.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.192.1 PASS ----------- ----------------------------------------------- looking up net: 1.2.191.1 PASS ----------- ---- print trie --- *** node: 1.2.128.0/24 PL *** node: 1.2.192.0/24 PL *** node: 1.2.0.0/16 PL --------------- ----------------------------------------------- looking up upper bound: 1.2.190.1 Pass: result = 1.2.191.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.190.1 Pass: result = 1.2.129.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.120.1 Pass: result = 1.2.127.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.120.1 Pass: result = 1.2.0.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.192.1 Pass: result = 1.2.192.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.192.1 Pass: result = 1.2.192.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.128.1 Pass: result = 1.2.128.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.128.1 Pass: result = 1.2.128.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.193.1 Pass: result = 1.2.255.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.193.1 Pass: result = 1.2.193.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.128.1 Pass: result = 1.2.191.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.128.1 Pass: result = 1.2.0.0 ----------- ----------------------------------------------- looking up lower bound: 1.2.190.1 Pass: result = 1.2.0.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.128.1 Pass: result = 1.2.255.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.128.1 Pass: result = 1.2.0.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.128.1 Pass: result = 255.255.255.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.128.1 Pass: result = 0.0.0.0 ----------- ----------------------------------------------- looking up net: fe80::2c0:4fff:0:0/96 PASS ----------- ----------------------------------------------- looking up net: fe80::2c0:4fff:fe68:8c58 PASS ----------- ----------------------------------------------- looking up upper bound: fe80::2c0:4fff:fe68:8c58 Pass: result = fe80::2c0:4fff:ffff:ffff ----------- ---- print trie --- --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.2.0/23 PL *** node: 1.2.0.0/16 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.2.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/16 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/15 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/16 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/16 PL *** node: 1.0.0.0/14 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/16 PL *** node: 1.2.0.0/15 PL *** node: 1.0.0.0/14 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/16 PL *** node: 1.3.0.0/17 PL *** node: 1.2.0.0/15 PL --------------- ----------------------------------------------- looking up net: 1.2.2.1 PASS ----------- ----------------------------------------------- looking up less specific for net: 1.2.1.0/24 PASS ----------- ----------------------------------------------- looking up less specific for net: 1.2.3.0/24 PASS ----------- ----------------------------------------------- looking up less specific for net: 1.3.0.0/17 PASS ----------- ----------------------------------------------- looking up less specific for net: 1.2.0.0/15 PASS ----------- ----------------------------------------------- looking up less specific for net: 1.2.128.0/24 PASS ----------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.3.0.0/17 PL *** node: 1.2.0.0/15 PL --------------- ----------------------------------------------- looking up lower bound: 1.2.128.1 Pass: result = 1.2.4.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.0.1 Pass: result = 1.2.0.255 ----------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.3.0.0/17 PL *** node: 1.2.0.0/15 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.3.0.0/17 PL *** node: 1.0.0.0/14 PL --------------- ----------------------------------------------- looking up upper bound: 1.0.0.1 Pass: result = 1.2.0.255 ----------- ----------------------------------------------- looking up lower bound: 1.0.0.1 Pass: result = 0.0.0.0 ----------- ----------------------------------------------- looking up upper bound: 1.3.128.1 Pass: result = 255.255.255.255 ----------- ----------------------------------------------- looking up upper bound: 1.2.2.1 Pass: result = 1.2.2.255 ----------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.3.0.0/17 PL --------------- ------ ------ ---- print trie --- *** node: 1.3.0.0/17 PL *** node: 1.0.0.0/14 PL --------------- ------ ------ ------ ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.2.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/15 PL *** node: 1.0.0.0/14 PL --------------- ------ ------ ------ ------ ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.2.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/15 PL *** node: 1.0.0.0/14 PL --------------- ------ Test replacement of interior node ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.2.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.2.0/23 PL *** node: 1.2.0.0/15 PL *** node: 1.0.0.0/14 PL --------------- ================== Test of begin() ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.2.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.2.0/23 PL --------------- ================== Test of lower_bound() ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.2.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.2.0/23 PL --------------- iter.key = 1.2.1.0/24 Test /32 prefix works ----------------------------------------------- looking up net: 9.9.9.9 PASS ----------- ----------------------------------------------- looking up net: 9.9.9.8 PASS ----------- ================== Test of preorder iterator adding n16: 1.2.3.0/24 route: 0xbffff4af adding n17: 1.2.1.0/24 route: 0xbffff4a3 adding n18: 1.2.0.0/16 route: 0xbffff497 adding n19: 1.2.128.0/24 route: 0xbffff48b adding n20: 1.2.0.0/20 route: 0xbffff47f ----------- Test of prefix increment (++ti) ----------- *** node: 1.2.0.0/16 PL *** node: 1.2.0.0/20 PL *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.128.0/24 PL PASS ----------- Test of postfix increment (ti++) ----------- *** node: 1.2.0.0/16 PL *** node: 1.2.0.0/20 PL *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.128.0/24 PL PASS Remove entry that is being pointed at by an iterator adding n1: 1.2.1.0/24 route: 0xbffff3ab PASS Remove entry that is being pointed at by an iterator adding n1: 1.2.1.0/24 route: 0xbffff39b PASS PASS: test_ref_trie FAIL: test_run_command.sh FAIL: test_sched FAIL: test_service FAIL: test_task Running: test1 Running: test2 Running: test3 Running: test4 Running: test5 Running: test6 PASS: test_test_main FAIL: test_time_slice FAIL: test_timer PASS: test_timeval PASS: find on empty trie found nothing adding n1: 1.2.1.0/24 route: 0xbffff54b ----------------------------------------------- looking up net: 1.2.1.0/24 PASS ----------- adding n2: 1.2.0.0/16 route: 0xbffff53f ----------------------------------------------- looking up net: 1.2.1.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- adding n3: 1.2.3.0/24 route: 0xbffff533 ----------------------------------------------- looking up net: 1.2.1.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.3.0/24 PASS ----------- adding n4: 1.2.128.0/24 route: 0xbffff527 ----------------------------------------------- looking up net: 1.2.1.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.3.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- adding n5: 1.2.0.0/20 route: 0xbffff51b ----------------------------------------------- looking up net: 1.2.1.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.3.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.0.0/20 PASS ----------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/20 PL *** node: 1.2.128.0/24 PL *** node: 1.2.0.0/16 PL --------------- ----------------------------------------------- looking up net: 1.2.1.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.3.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.128.0/24 PL *** node: 1.2.0.0/16 PL --------------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.3.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- ---- print trie --- *** node: 1.2.3.0/24 PL *** node: 1.2.128.0/24 PL *** node: 1.2.0.0/16 PL --------------- ----------------------------------------------- looking up net: 1.2.3.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- ---- print trie --- *** node: 1.2.3.0/24 PL *** node: 1.2.128.0/24 PL --------------- ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- ---- print trie --- *** node: 1.2.128.0/24 PL *** node: 1.2.0.0/16 PL --------------- adding n6: 1.2.192.0/24 route: 0xbffff50f ----------------------------------------------- looking up net: 1.2.0.0/16 PASS ----------- ----------------------------------------------- looking up net: 1.2.128.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.192.0/24 PASS ----------- ----------------------------------------------- looking up net: 1.2.192.1 PASS ----------- ----------------------------------------------- looking up net: 1.2.191.1 PASS ----------- ---- print trie --- *** node: 1.2.128.0/24 PL *** node: 1.2.192.0/24 PL *** node: 1.2.0.0/16 PL --------------- ----------------------------------------------- looking up upper bound: 1.2.190.1 Pass: result = 1.2.191.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.190.1 Pass: result = 1.2.129.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.120.1 Pass: result = 1.2.127.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.120.1 Pass: result = 1.2.0.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.192.1 Pass: result = 1.2.192.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.192.1 Pass: result = 1.2.192.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.128.1 Pass: result = 1.2.128.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.128.1 Pass: result = 1.2.128.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.193.1 Pass: result = 1.2.255.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.193.1 Pass: result = 1.2.193.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.128.1 Pass: result = 1.2.191.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.128.1 Pass: result = 1.2.0.0 ----------- ----------------------------------------------- looking up lower bound: 1.2.190.1 Pass: result = 1.2.0.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.128.1 Pass: result = 1.2.255.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.128.1 Pass: result = 1.2.0.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.128.1 Pass: result = 255.255.255.255 ----------- ----------------------------------------------- looking up lower bound: 1.2.128.1 Pass: result = 0.0.0.0 ----------- ----------------------------------------------- looking up net: fe80::2c0:4fff:0:0/96 PASS ----------- ----------------------------------------------- looking up net: fe80::2c0:4fff:fe68:8c58 PASS ----------- ----------------------------------------------- looking up upper bound: fe80::2c0:4fff:fe68:8c58 Pass: result = fe80::2c0:4fff:ffff:ffff ----------- ---- print trie --- --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.2.0/23 PL *** node: 1.2.0.0/16 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.2.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/16 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/15 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/16 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/16 PL *** node: 1.0.0.0/14 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/16 PL *** node: 1.2.0.0/15 PL *** node: 1.0.0.0/14 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/16 PL *** node: 1.3.0.0/17 PL *** node: 1.2.0.0/15 PL --------------- ----------------------------------------------- looking up net: 1.2.2.1 PASS ----------- ----------------------------------------------- looking up less specific for net: 1.2.1.0/24 PASS ----------- ----------------------------------------------- looking up less specific for net: 1.2.3.0/24 PASS ----------- ----------------------------------------------- looking up less specific for net: 1.3.0.0/17 PASS ----------- ----------------------------------------------- looking up less specific for net: 1.2.0.0/15 PASS ----------- ----------------------------------------------- looking up less specific for net: 1.2.128.0/24 PASS ----------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.3.0.0/17 PL *** node: 1.2.0.0/15 PL --------------- ----------------------------------------------- looking up lower bound: 1.2.128.1 Pass: result = 1.2.4.0 ----------- ----------------------------------------------- looking up upper bound: 1.2.0.1 Pass: result = 1.2.0.255 ----------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.3.0.0/17 PL *** node: 1.2.0.0/15 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.3.0.0/17 PL *** node: 1.0.0.0/14 PL --------------- ----------------------------------------------- looking up upper bound: 1.0.0.1 Pass: result = 1.2.0.255 ----------- ----------------------------------------------- looking up lower bound: 1.0.0.1 Pass: result = 0.0.0.0 ----------- ----------------------------------------------- looking up upper bound: 1.3.128.1 Pass: result = 255.255.255.255 ----------- ----------------------------------------------- looking up upper bound: 1.2.2.1 Pass: result = 1.2.2.255 ----------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.3.0.0/17 PL --------------- ---- print trie --- *** node: 1.3.0.0/17 PL *** node: 1.0.0.0/14 PL --------------- ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.2.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/15 PL *** node: 1.0.0.0/14 PL --------------- ------ ------ ------ ------ ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.2.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.0.0/15 PL *** node: 1.0.0.0/14 PL --------------- ------ Test replacement of interior node ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.2.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.2.0/23 PL *** node: 1.2.0.0/15 PL *** node: 1.0.0.0/14 PL --------------- ================== Test of begin() ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.2.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.2.0/23 PL --------------- ================== Test of lower_bound() ---- print trie --- *** node: 1.2.1.0/24 PL *** node: 1.2.2.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.2.0/23 PL --------------- iter.key = 1.2.1.0/24 Test /32 prefix works ----------------------------------------------- looking up net: 9.9.9.9 PASS ----------- ----------------------------------------------- looking up net: 9.9.9.8 PASS ----------- ================== Test of preorder iterator adding n16: 1.2.3.0/24 route: 0xbffff44b adding n17: 1.2.1.0/24 route: 0xbffff43f adding n18: 1.2.0.0/16 route: 0xbffff433 adding n19: 1.2.128.0/24 route: 0xbffff427 adding n20: 1.2.0.0/20 route: 0xbffff41b ----------- Test of prefix increment (++ti) ----------- *** node: 1.2.0.0/16 PL *** node: 1.2.0.0/20 PL *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.128.0/24 PL PASS ----------- Test of postfix increment (ti++) ----------- *** node: 1.2.0.0/16 PL *** node: 1.2.0.0/20 PL *** node: 1.2.1.0/24 PL *** node: 1.2.3.0/24 PL *** node: 1.2.128.0/24 PL PASS Find subtree ---- print trie --- *** node: 169.229.0.136/29 PL *** node: 192.150.187.0/25 PL *** node: 192.168.254.2/32 PL *** node: 192.168.254.3/32 PL --------------- ---- print trie --- *** node: 169.229.0.136/29 PL *** node: 192.150.187.248/29 PL *** node: 192.168.254.2/32 PL *** node: 192.168.254.3/32 PL --------------- PASS PASS: test_trie PASS: test_types PASS: test_utils PASS: test_vif ================================== 9 of 28 tests failed Please report to feedback@xorp.org ================================== make[3]: Leaving directory `/newxorp/libxorp' make[2]: Leaving directory `/newxorp/libxorp' make[1]: Leaving directory `/newxorp/libxorp'