History log of /src/tests/net/if_bridge/
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
1.4 03-Sep-2024 ozaki-r

tests, bridge: add tests for interface protection

The original author of the test is k-goda@IIJ. ozaki-r improved
the test slightly.


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-8-3-RELEASE netbsd-9-4-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base netbsd-9-3-RELEASE cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
1.3 11-Mar-2017 ozaki-r

branches: 1.3.22; 1.3.24;
Separate tests for learning table of bridge


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
1.2 24-Nov-2016 ozaki-r

branches: 1.2.2;
Move get_macaddr to net_common.sh


Revision tags: pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
1.1 18-Sep-2014 ozaki-r

branches: 1.1.2;
Add net/if_bridge test


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
1.1 03-Sep-2024 ozaki-r

branches: 1.1.2; 1.1.6;
tests, bridge: add tests for interface protection

The original author of the test is k-goda@IIJ. ozaki-r improved
the test slightly.


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
1.21 03-Sep-2024 ozaki-r

tests, bridge: add tests for interface protection

The original author of the test is k-goda@IIJ. ozaki-r improved
the test slightly.


1.20 03-Sep-2024 ozaki-r

tests: dedup test scripts like others


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 phil-wifi-20191119
1.19 19-Aug-2019 ozaki-r

branches: 1.19.8; 1.19.10;
tests: use rump_server_add_iface to create interfaces


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
1.18 01-Feb-2018 ozaki-r

branches: 1.18.4;
Commonalize and add tests of creating/destroying interfaces


Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
1.17 11-Mar-2017 ozaki-r

branches: 1.17.4;
Separate tests for learning table of bridge


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
1.16 25-Nov-2016 ozaki-r

branches: 1.16.2;
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.15 25-Nov-2016 ozaki-r

Add $DEBUG and remove a unused function


1.14 24-Nov-2016 ozaki-r

Move get_macaddr to net_common.sh


Revision tags: pgoyette-localcount-20161104 localcount-20160914
1.13 10-Aug-2016 kre

+ -lrumpdev (and avoid doing stuff twice).


Revision tags: pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
1.12 21-Jun-2016 ozaki-r

branches: 1.12.2;
Make a bunch of test names self-descriptive


1.11 07-Aug-2015 ozaki-r

Use rump.ping6 instead of ping6 with rumphijack(3)


1.10 23-Jul-2015 ozaki-r

Reflect a fix for bridge

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.


1.9 10-Jun-2015 ozaki-r

Add missing cleanup


1.8 09-Jun-2015 ozaki-r

Add tests for bridge members with an IP address

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.


1.7 29-May-2015 ozaki-r

Disable test_ping_failure which is conducted before setup_bridge

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.


1.6 29-May-2015 ozaki-r

Bump timeout for ping and ping6 to 5 sec

Hope the wait is enough for slow machines, e.g., qemu/anita/i386.


1.5 29-May-2015 ozaki-r

Get rid of unnecessary shebang

It will be added when it's built.


1.4 16-May-2015 ozaki-r

Enable IPv6 negative tests

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.


1.3 08-Jan-2015 ozaki-r

Add tests for brconfig maxaddr


1.2 07-Jan-2015 ozaki-r

Add some tests for rtable operations of if_bridge


1.1 18-Sep-2014 ozaki-r

Add net/if_bridge test


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base perseant-exfatfs-base-20240630 perseant-exfatfs-base
1.8 26-Mar-2023 andvar

fix various typos in documentation, comments and sysctl device description.
mainly aion -> ation and inlude -> include.


Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 phil-wifi-20191119
1.7 19-Aug-2019 ozaki-r

tests: use rump_server_add_iface to create interfaces


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base
1.6 09-Jul-2019 ozaki-r

tests: check that a new cache is not created over the limit


Revision tags: phil-wifi-20190609
1.5 31-May-2019 gson

Increase the timeout for the manyaddrs test case; the default is often
insufficient under qemu.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126
1.4 09-Nov-2018 ozaki-r

Add a test to show a large number of MAC addresses cached in a bridge


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422
1.3 18-Apr-2018 ozaki-r

branches: 1.3.2;
Add a test that checks if brconfig flush surely removes all entries


Revision tags: pgoyette-compat-0415
1.2 10-Apr-2018 ozaki-r

Add a test case for bridge_rtdelete


Revision tags: pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
1.1 11-Mar-2017 ozaki-r

branches: 1.1.2; 1.1.4; 1.1.8; 1.1.14;
Separate tests for learning table of bridge


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
1.1 03-Sep-2024 ozaki-r

branches: 1.1.2; 1.1.6;
tests, bridge: add tests for interface protection

The original author of the test is k-goda@IIJ. ozaki-r improved
the test slightly.