The NetBSD Project

CVS log for src/tests/net/if_tap/t_tap.sh

[BACK] Up to [cvs.NetBSD.org] / src / tests / net / if_tap

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.11.6.1: download - view: text, markup, annotated - select for diffs
Thu Aug 8 06:54:25 2024 UTC (5 months, 2 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +2 -2 lines
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.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Aug 7 09:48:18 2024 UTC (5 months, 2 weeks ago) by rin
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
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.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Sep 30 14:43:15 2020 UTC (4 years, 3 months ago) by roy
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: netbsd-10
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +24 -4 lines
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

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:31 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +4 -4 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Aug 19 03:22:05 2019 UTC (5 years, 5 months ago) by ozaki-r
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
tests: use rump_server_add_iface to create interfaces

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:09 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -6 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon May 13 17:55:08 2019 UTC (5 years, 8 months ago) by bad
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base, 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
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -6 lines
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.

Revision 1.6.6.2: download - view: text, markup, annotated - select for diffs
Mon Apr 2 09:51:58 2018 UTC (6 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Diff to: previous 1.6.6.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.6.1: +14 -9 lines
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.

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 30 06:20:16 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +14 -9 lines
Resolve conflicts between branch and HEAD

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Mar 22 09:21:24 2018 UTC (6 years, 10 months ago) by ozaki-r
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330
Branch point for: phil-wifi
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +14 -9 lines
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.

Revision 1.6.6.1: download - view: text, markup, annotated - select for diffs
Mon Feb 26 00:41:14 2018 UTC (6 years, 11 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -18 lines
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

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Feb 1 05:22:02 2018 UTC (6 years, 11 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -18 lines
Commonalize and add tests of creating/destroying interfaces

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:56 2017 UTC (8 years ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +25 -25 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Nov 25 08:51:16 2016 UTC (8 years, 2 months ago) by ozaki-r
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +24 -23 lines
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.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Nov 24 09:03:53 2016 UTC (8 years, 2 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -2 lines
Move HIJACKING definition to net_common.sh

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Nov 7 05:25:37 2016 UTC (8 years, 2 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Accept DEBUG environment variable

By doing so, we can easily turn DEBUG on/off without modifying
the ATF scripts.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Aug 10 22:42:21 2016 UTC (8 years, 5 months ago) by kre
Branches: MAIN
CVS tags: pgoyette-localcount-20161104, localcount-20160914
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines

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 ...

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jun 21 05:04:16 2016 UTC (8 years, 7 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726
Branch point for: pgoyette-localcount
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +16 -16 lines
Make a bunch of test names self-descriptive

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Mar 4 02:44:45 2016 UTC (8 years, 10 months ago) by ozaki-r
Branches: MAIN
Add tests for tap(4)

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>