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.
- 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
Due to PR 48104, some tests of ping/ping6 were failed but the tests now
should be successful. So reverse atf_check.
Bonus: the fix for PR 48104 also fixes another uknown failure.
The tests include checks for PR#48104 which is not fixed yet.
Note that one test unexpectedly fails for some reason
(unrelated to PR#48104). We have to fix it somehow.
It randomly fails (esp, often on a slow or loaded machine) due to
PR kern/49219, so disable it for now.
I forgot why I didn't include the test when I committed the test
at first and wrongly added it at v1.4.
This test encapsulates IPv6 packets, pass them over MPLS to an IPv6
neighbour that switches label and passes forward to an IPv4
neighbour. There, the IPv6 packet is decapsulated and passed to IPv6 stack
For the return path we test both implicit and explicit null encapsulations
The tests on anita qemus failed due to that the host network environment
didn't meet the tests.
The change makes the tests independent from host environments
and the tests will pass on any environments including anita qemus.
Discussed on tech-kern and tech-net.
Using always an interface of index=1 is not good idea; it varies
depending on runtime environments. We can use index=0 instead,
which allows the kernel to pick an appropriate interface for mcast.
As ping6 timeout feature (-X option) is added, we can do negative
tests without wasting time.
1 sec delay is added after network setup to avoid false positives.