Commit Graph

13 Commits

Author SHA1 Message Date
ozaki-r
b86b70a179 Don't assign unused IP address
It sometimes creates an unexpected NDP cache.
2015-11-18 04:13:01 +00:00
ozaki-r
d54fcc93ce Add tests for GC of neighbor caches 2015-11-17 06:44:13 +00:00
ozaki-r
9b59cf7aa1 Fix up the header
Remove unnecessary shebang and add missing keyword expansion,
copyright and license.
2015-11-12 05:01:28 +00:00
ozaki-r
3637fb5284 Add tests for RA
From s-yamaguchi@IIJ (with some tweaks by me)
2015-11-11 07:52:57 +00:00
ozaki-r
1a07436188 Disable another tentative state check
It's too ephemeral to check robustly.
2015-08-24 02:02:25 +00:00
ozaki-r
c8aae55351 Make a test a bit easy
Accept just 24h of expiration time in addition to 24h - a few seconds.
2015-08-18 00:58:35 +00:00
ozaki-r
c75b32f0a0 Improve test stability
A test for ndp -c was sometimes failed because between the deletion
and the check NS/NA messages were exchanged and a NDP cache was
recreated unexpectedly. To provent this situation, we do ifconfig
shmif0 down of the peer before the test, so the test won't be
interfered by the messages.
2015-08-17 07:47:21 +00:00
ozaki-r
e266b2d0dd Improve test stability
- Take a diff between packet dumps and use it for packet checking
  - it's resistant against packet reorder
- Seep 2 sec to make sure a NS message is sent
- Disable tentative state check for now
  - it's too ephemeral to check robustly
2015-08-17 07:06:58 +00:00
ozaki-r
3e44abc850 Fix head and cleanup definitions for cache_expiration tests 2015-08-10 09:32:01 +00:00
ozaki-r
94e6f63fa9 Fix cleanup 2015-08-10 09:31:13 +00:00
ozaki-r
7284c53128 Use rump.ping6 instead of ping6 with rumphijack(3) 2015-08-07 00:50:12 +00:00
ozaki-r
2179c9b76f Check the output of ndp -d strictly 2015-08-04 07:43:25 +00:00
ozaki-r
2f55a7d3ed Add tests for NDP 2015-08-03 09:54:20 +00:00