Home | History | Annotate | only in /src/tests/net/if
History log of /src/tests/net/if
RevisionDateAuthorComments
 1.10 01-Mar-2020  christos Centralize the base rump libraries into a variable used by all the other
Makefiles so that we can make changes to it centrally as needed and have
less mess. Fixes the sun2 build that needs rumpvfs after librump after
the latest changes.
 1.9 01-Jun-2019  kre Deal with fallout from the addition of
KERN_PROC_CWD in sysctl(3)
That is kern.proc.$$.KERN_PROC_CWD (I think - not that it matters here)

The effect is that -lrump now requires -lrumpvfs

This set of changes fixes (I believe) regular dynamic builds,
more might be required for static builds (will be verified soon).
 1.8 13-May-2019  bad Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed
after moving rump's mainbus from rumpdev to rumpkern.

Produces the same atf-run results as before.
 1.7 14-Feb-2017  ozaki-r branches: 1.7.12;
Add tests for ifconfig up/down
 1.6 08-Aug-2016  pgoyette branches: 1.6.2;
This one needs librump dev (and librumpvfs) too
 1.5 01-Jul-2015  ozaki-r branches: 1.5.2;
Add tests of interface creation/destruction
 1.4 08-Dec-2014  ozaki-r Fix LDADD.t_compat

This unbreaks the build.
 1.3 08-Dec-2014  ozaki-r Add basic tests for ifconf (SIOCGIFCONF)
 1.2 10-Jun-2014  he Fix static linking for the tests: -lrump is also used by -lrumpuser,
so we also need -lrump after -lrumpuser. Fixes build for sun2.
 1.1 07-Nov-2010  pooka branches: 1.1.12; 1.1.22;
convert program in PR kern/44054 to an atf test case
 1.1.22.1 10-Aug-2014  tls Rebase.
 1.1.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.6.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.7.12.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.7.12.1 10-Jun-2019  christos Sync with HEAD
 1.1 08-Dec-2014  ozaki-r Add basic tests for ifconf (SIOCGIFCONF)
 1.5 26-Nov-2021  gson Delete trailing whitespace
 1.4 12-Nov-2016  kre Delete inappropriate \n from atd_tc_expect_fail() message
 1.3 07-Nov-2016  pgoyette Add PR number to the expected-fail message
 1.2 07-Nov-2016  pgoyette Mark this test as "expected failure" since rump doesn't include the
COMPAT_43 code.
 1.1 07-Nov-2010  pooka branches: 1.1.28;
convert program in PR kern/44054 to an atf test case
 1.1.28.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.4 13-May-2019  bad Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed
after moving rump's mainbus from rumpdev to rumpkern.

Produces the same atf-run results as before.
 1.3 10-Aug-2016  kre branches: 1.3.14;

+ -lrumpdev
 1.2 28-Apr-2016  ozaki-r Don't depend on the order of interfaces

Instead add tests of querying varying number of interfaces
and tests of checking if removing interfaces is reflected.
 1.1 08-Dec-2014  ozaki-r Add basic tests for ifconf (SIOCGIFCONF)
 1.3.14.1 10-Jun-2019  christos Sync with HEAD
 1.22 17-Aug-2021  andvar fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.
 1.21 15-Aug-2019  ozaki-r tests: check if ifconfig (ioctl) works after a failure of ifconfig destroy

This is a test for PR kern/54434.
 1.20 04-Jul-2019  ozaki-r branches: 1.20.2;
Add ATF test for a description.

From t-kusaba@IIJ
 1.19 13-May-2019  bad Get rid of all the -lrumpdev and -lrumpvfs that are no longer needed
after moving rump's mainbus from rumpdev to rumpkern.

Produces the same atf-run results as before.
 1.18 16-Mar-2017  ozaki-r branches: 1.18.4; 1.18.12;
Add a test case of ifconfig <if_index>

I don't know if <if_index> is expected to be accepted instead of
an interface name. Please update the test case if the behavior is
just a bug and ifconfig gets fixed.
 1.17 17-Feb-2017  ozaki-r Make the test more stable
 1.16 14-Feb-2017  ozaki-r Add tests for ifconfig up/down
 1.15 20-Jan-2017  ozaki-r Protect if_clone data with if_clone_mtx

To this end, carpattach needs to be delayed from RUMP_COMPONENT_NET to
RUMP_COMPONENT_NET_IF on rump_server. Otherwise mutex_enter via carpattach
for if_clone_mtx is called before mutex_init for it in ifinit1.
 1.14 01-Oct-2016  kre branches: 1.14.2;

Don't expect ping to complain about sending to a local address
assigned to an interface that's down - instead it just attempts
to send, and the interface never responds (as it would if it were
a remote address).
 1.13 01-Oct-2016  roy Adjust tests to new output. Wait for DaD to finish before pinging.
 1.12 14-Sep-2016  christos Ignore case in deprecated/anycast
 1.11 10-Aug-2016  kre + -lrumpdev
 1.10 21-Jun-2016  ozaki-r branches: 1.10.2;
Make a bunch of test names self-descriptive
 1.9 28-Apr-2016  ozaki-r Don't depend on the order of interfaces

The kernel guarantees nothing about it.
 1.8 04-Apr-2016  ozaki-r Separate nexthop caches from the routing table

By this change, nexthop caches (IP-MAC address pair) are not stored
in the routing table anymore. Instead nexthop caches are stored in
each network interface; we already have lltable/llentry data structure
for this purpose. This change also obsoletes the concept of cloning/cloned
routes. Cloned routes no longer exist while cloning routes still exist
with renamed to connected routes.

Noticeable changes are:
- Nexthop caches aren't listed in route show/netstat -r
- sysctl(NET_RT_DUMP) doesn't return them
- If RTF_LLDATA is specified, it returns nexthop caches
- Several definitions of routing flags and messages are removed
- RTF_CLONING, RTF_XRESOLVE, RTF_LLINFO, RTF_CLONED and RTM_RESOLVE
- RTF_CONNECTED is added
- It has the same value of RTF_CLONING for backward compatibility
- route's -xresolve, -[no]cloned and -llinfo options are removed
- -[no]cloning remains because it seems there are users
- -[no]connected is introduced and recommended
to be used instead of -[no]cloning
- route show/netstat -r drops some flags
- 'L' and 'c' are not seen anymore
- 'C' now indicates a connected route
- Gateway value of a route of an interface address is now not
a L2 address but "link#N" like a connected (cloning) route
- Proxy ARP: "arp -s ... pub" doesn't create a route

You can know details of behavior changes by seeing diffs under tests/.

Proposed on tech-net and tech-kern:
http://mail-index.netbsd.org/tech-net/2016/03/11/msg005701.html
 1.7 29-Feb-2016  ozaki-r Add tests deleting active/inactive links
 1.6 20-Nov-2015  ozaki-r Set timeout of ping to reduce execution time
 1.5 06-Nov-2015  ozaki-r Improve test stability

"deprecated" flag may not be reflected immediately. We need to add some
delay before checking the result.
 1.4 05-Nov-2015  ozaki-r Add tests for ifconfig parameters

From s-yamaguchi@IIJ
 1.3 15-Sep-2015  ozaki-r Improve test stability

ifconfig -a -v after ifconfig -a -z is expected to show '0 packets' for
all interface. However, shmif0 can receive packets between the two
operations. So we have to keep shmif0 down during such tests.
 1.2 03-Sep-2015  ozaki-r Add tests for ifconfig options

From s-yamaguchi@IIJ (with some tweaks by me)
 1.1 01-Jul-2015  ozaki-r Add tests of interface creation/destruction
 1.10.2.2 20-Mar-2017  pgoyette Sync with HEAD
 1.10.2.1 04-Nov-2016  pgoyette Sync with HEAD
 1.14.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.18.12.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.18.12.1 10-Jun-2019  christos Sync with HEAD
 1.18.4.1 19-Aug-2019  martin Pull up following revision(s) (requested by ozaki-r in ticket #1339):

sys/net/if.c: revision 1.458
tests/net/if/t_ifconfig.sh: revision 1.21

Restore if_ioctl on error of ifc_destroy

Otherwise subsequence ioctls won't work.

Patch from Harold Gutch on PR kern/54434 (tweaked a bit by me)
tests: check if ifconfig (ioctl) works after a failure of ifconfig destroy

This is a test for PR kern/54434.
 1.20.2.1 19-Aug-2019  martin Pull up following revision(s) (requested by ozaki-r in ticket #98):

sys/net/if.c: revision 1.458
tests/net/if/t_ifconfig.sh: revision 1.21

Restore if_ioctl on error of ifc_destroy

Otherwise subsequence ioctls won't work.

Patch from Harold Gutch on PR kern/54434 (tweaked a bit by me)
tests: check if ifconfig (ioctl) works after a failure of ifconfig destroy

This is a test for PR kern/54434.

RSS XML Feed