Home | History | Annotate | Download | only in if_tap
History log of /src/tests/net/if_tap/t_tap.sh
RevisionDateAuthorComments
 1.12  07-Aug-2024  rin t_tap: Fix previous to make `tap_bridged` functional again

We need to ping to IP[46]_TAP from REMOTE, not LOCAL (== server).
Otherwise, this does not make sense as a test for tap-bridge interaction.
 1.11  30-Sep-2020  roy branches: 1.11.6; 1.11.8;
tap(4): update the test so that we can open the tap to ping across a bridge

ping with tap closed to ensure it fails
ping with tap open to ensure it works
 1.10  19-Aug-2019  ozaki-r tests: use rump_server_add_iface to create interfaces
 1.9  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.8  22-Mar-2018  ozaki-r branches: 1.8.2;
Avoid setting IP addresses of the same subnet on different interface

If we do so, there will remain one route that is of a preceding address, but
that behavior is not documented and may be changed in the future. Tests
shouldn't rely on such a unstable behavior.
 1.7  01-Feb-2018  ozaki-r branches: 1.7.2;
Commonalize and add tests of creating/destroying interfaces
 1.6  25-Nov-2016  ozaki-r branches: 1.6.6;
Share rump_server start/stop and interface creation/destruction functions

The common functions store socks of rump_servers, interfaces of rump_servers
and buses that intefaces connect and allow to destroy them with common
functions without specifying which socks, interfaces and buses we should
destroy.

This change reduces lots of similar setup/cleanup codes.
 1.5  24-Nov-2016  ozaki-r Move HIJACKING definition to net_common.sh
 1.4  07-Nov-2016  ozaki-r Accept DEBUG environment variable

By doing so, we can easily turn DEBUG on/off without modifying
the ATF scripts.
 1.3  10-Aug-2016  kre Move -lrumpdev so it is effective.

This test still fails (as does another using tap interfaces) ...

tc-se:rump.ifconfig: clone_command: Device not configured
tc-se:rump.ifconfig: exec_matches: Device not configured

Something is wrong with rumpnet_tap ...
 1.2  21-Jun-2016  ozaki-r branches: 1.2.2;
Make a bunch of test names self-descriptive
 1.1  04-Mar-2016  ozaki-r Add tests for tap(4)
 1.2.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.6.6.2  02-Apr-2018  martin Pull up following revision(s) (requested by ozaki-r in ticket #688):

tests/net/ndp/t_ndp.sh: revision 1.31
tests/net/if_tap/t_tap.sh: revision 1.8

Avoid setting IP addresses of the same subnet on different interface

If we do so, there will remain one route that is of a preceding address, but
that behavior is not documented and may be changed in the future. Tests
shouldn't rely on such a unstable behavior.
 1.6.6.1  26-Feb-2018  snj Pull up following revision(s) (requested by ozaki-r in ticket #572):
sys/net/if_bridge.c: 1.138, 1.148
tests/net/if_bridge/t_bridge.sh: 1.18
tests/net/if_gif/t_gif.sh: 1.12
tests/net/if_ipsec/t_ipsec.sh: 1.3
tests/net/if_l2tp/t_l2tp.sh: 1.4
tests/net/if_loop/t_basic.sh: 1.2
tests/net/if_pppoe/t_pppoe.sh: 1.18
tests/net/if_tap/t_tap.sh: 1.7
tests/net/if_tun/Makefile: 1.2
tests/net/if_tun/t_tun.sh: 1.5
tests/net/if_vlan/t_vlan.sh: 1.8
tests/net/net_common.sh: 1.26
Remove unnecessary splsoftnet
--
If the bridge is not running, don't call bridge_stop. Otherwise the
following commands will crash the kernel:
ifconfig bridge0 create
ifconfig bridge0 destroy
--
Commonalize and add tests of creating/destroying interfaces
 1.7.2.1  30-Mar-2018  pgoyette Resolve conflicts between branch and HEAD
 1.8.2.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.8.2.1  10-Jun-2019  christos Sync with HEAD
 1.11.8.1  02-Aug-2025  perseant Sync with HEAD
 1.11.6.1  08-Aug-2024  martin Pull up following revision(s) (requested by rin in ticket #780):

tests/net/if_tap/t_tap.sh: revision 1.12

t_tap: Fix previous to make `tap_bridged` functional again

We need to ping to IP[46]_TAP from REMOTE, not LOCAL (== server).

Otherwise, this does not make sense as a test for tap-bridge interaction.

RSS XML Feed