Up to [cvs.NetBSD.org] / src / tests / net / if_shmif
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Pull up following revision(s) (requested by ozaki-r in ticket #811): tests/net/if_shmif/t_shmif.sh: revision 1.1 sbin/ifconfig/ifconfig.c: revision 1.251 sbin/ifconfig/ifconfig.8: revision 1.130 sys/rump/net/lib/libshmif/if_shmem.c: revision 1.85 sys/rump/net/lib/libshmif/if_shmem.c: revision 1.86 sys/rump/net/lib/libshmif/if_shmem.c: revision 1.87 etc/mtree/NetBSD.dist.tests: revision 1.206 distrib/sets/lists/tests/mi: revision 1.1333 tests/net/if_shmif/Makefile: revision 1.1 tests/net/Makefile: revision 1.42 shmif: change behaviors about link states - Change the link state to UP on ifconfig linkstr - This behavior emulates physical devices - Change the link state to UNKNOWN on ifconfig -linkstr just in case - Reject sending/receiving packets if the link state is DOWN - Permit to send/receive packets on UNKNOWN, which is required to unbreak some ATF tests written in C shmif: support media It enables to link-down shmif by ifconfig media none and link-up again by media auto. ifconfig: show link state on -v We could guess it through "media" or "status" output, however, we sometimes want to know it directly for debugging or testing. It is shown only if the -v option is specified. tests: add tests for shmif The test file is placed under tests/net, not tests/rump/rumpnet, to leverage utility functions provided for tests in there. shmem(4): Fix typo in comment: AFT -> ATF. Also fix grammar (if I understood correctly what this meant: rump servers written in C, rather than set up via shell scripts around rump_server invoking ifconfig). No functional change intended.
file t_shmif.sh was added on branch netbsd-10 on 2024-08-24 16:42:25 +0000
tests: add tests for shmif The test file is placed under tests/net, not tests/rump/rumpnet, to leverage utility functions provided for tests in there.