msaitoh
14b13206bb
s/encript/encrypt/ in comment.
2021-12-05 02:49:21 +00:00
gson
0d1c554f2b
The wg_handshake_timeout test case was failing because it contained
...
atf_fail "failed to trigger PR kern/56252" without a corresponding
atf_expect_fail "PR kern/56252", which makes no sense. Since the
test case does occasionally fail on real hardware, fix this by adding
the atf_expect_fail rather than by removing the atf_fail.
2021-11-26 20:02:35 +00:00
gson
6dc8853fd6
Delete trailing whitespace
2021-11-26 15:45:52 +00:00
hannken
36c3dfccee
Consistently use "drvctl -l qemufwcfg0" to check if
...
running under qemu in general.
2021-11-25 14:17:22 +00:00
rin
3353f76b9d
Fix (a kind of) violation of strict aliasing rule.
...
Due to the rule, "sin" and "sin6" can be treated as restrict pointers.
Compilers seem to be confused by structure copy for those pointed by
them before assignments.
For aarch64eb, GCC 9 and 10 compile t_tcp.c rev 1.11 into a code, where
fetch for "sin6->sin6_port" is preceding the structure copy "ss = bs".
This results in failure of connect(2) with EADDRNOOTAVAIL.
2021-11-08 10:57:09 +00:00
yamaguchi
84c7f50d5d
Added tests for lagg(4) about MAC addresses
2021-11-08 06:24:11 +00:00
yamaguchi
4763054d94
Added tests of combination of lagg(4), vlan(4), and l2tp(4)
2021-11-02 01:57:16 +00:00
yamaguchi
a600b955f3
Use IPv6 addresses, not IPv4, in combination test of IPv6, lagg and vlan
2021-11-02 01:42:26 +00:00
yamaguchi
9e7e46397b
added test cases for lagg(4) on l2tp(4)
2021-10-19 07:57:15 +00:00
andvar
ca7653601e
fix various typos in comments and log messages.
2021-08-20 20:25:26 +00:00
yamaguchi
78a7048598
Added description of license
2021-08-19 03:36:42 +00:00
yamaguchi
30e5b9c2a9
Make the test program run in background after doing BIOCPROMISC
...
t_vlan has rarely failed by checking IFF_PROMISC before the
test program do BIOCPROMISC. To solve this, BIOCPROMISC is
done in the foreground.
fixes PR/56357
2021-08-19 03:27:05 +00:00
andvar
2e0bf311b3
fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.
2021-08-17 22:00:26 +00:00
nia
213aa76def
introduce a SOL_LOCAL for unix-domain socket level socket options
...
as an alias of the current 0 used for these options, as in FreeBSD.
reviewed by many.
2021-08-08 20:54:48 +00:00
ozaki-r
6cecaa578a
tests, altq: fix checks of altqd startup
...
Hopefully the fix stabilizes test results on qemu/anita.
2021-07-16 02:33:32 +00:00
yamaguchi
5a1a242cf4
vlan: Added missing $HIJACKING before brconfig
2021-07-14 08:51:51 +00:00
yamaguchi
2a7cf07c93
Added tests for adding vlan(4) to a bridge and deleting from it
...
- add vlan(4) that has no parent interface to a bridge member
- the vlan(4) cannot be added to a bridge member
- detach the parent interface of vlan(4) that is in a bridge member
- vlan(4) is deleted from a bridge member at the detaching
2021-07-14 08:50:24 +00:00
ozaki-r
56d8905e3d
tests, altq: test new options
2021-07-14 08:33:47 +00:00
yamaguchi
98c458f8ad
Added a test about clearing IFF_PROMISC at vlan_unconfig
...
This test is related to PR/49196
2021-07-14 06:35:59 +00:00
ozaki-r
83b6f2d1d3
tests: add tests for ALTQ CBQ
2021-07-14 03:22:33 +00:00
yamaguchi
b0d413b9c0
added tests for IFF_PROMISC of vlan(4)
2021-07-09 05:54:11 +00:00
yamaguchi
8e6d0eaf08
vlan: added checks of linkstate
2021-07-06 01:18:22 +00:00
yamaguchi
abb56bcd34
Added tests for changing a MTU when the vlan(4) is added to bridge(4)
...
The tests is for PR kern/56292
2021-07-02 04:38:10 +00:00
riastradh
8c3b7b40bb
tests/net/if_wg: Only expect this to fail once!
...
Not sure how that happened, weird artefact of applying fuzzy patch
twice or something.
2021-06-17 12:45:58 +00:00
riastradh
8166eec586
tests/net/if_wg: Mark as flaky (PR kern/56252).
2021-06-17 12:16:09 +00:00
riastradh
5bdf84f048
tests/net/if_wg: Fix typo: $ifconfig, not $ifconfg.
2021-06-16 23:45:52 +00:00
yamaguchi
8ccc16d5e6
Update test case.
...
The state of IPCP and IPv6CP is Closed when those are disabled.
2021-06-01 05:18:33 +00:00
yamaguchi
b119e5ab50
Added missing cleanup option
...
Fixes PR/56206
2021-05-25 00:38:30 +00:00
yamaguchi
f0101d0e08
Add a new link-aggregation pseudo interface named lagg(4)
...
- FreeBSD's lagg(4) based implementation
- MP-safe and MP-scalable
2021-05-17 04:07:41 +00:00
yamaguchi
6af4209c35
Fix the wrong state check
...
After disconnection from PPPoE server, the client waits for
reconnection in initial state or reconnects in PADI state.
2021-05-13 03:37:58 +00:00
yamaguchi
5416d07a0e
Add tests for "pppoectl {no}[ipcp|ipv6cp]"
2021-05-11 05:57:02 +00:00
yamaguchi
f381967972
Added missing '$'
2021-05-11 00:55:51 +00:00
yamaguchi
0c15ac9ed3
Added missing waiting for DAD completion
2021-05-06 01:09:43 +00:00
yamaguchi
7c3ad1a224
Added a test case for MTU of pppoe(4)
2021-04-23 03:41:55 +00:00
yamaguchi
8fd0ecaa70
Make IFF_DEBUG enabled if $DEBUG is true
2021-04-23 03:40:05 +00:00
yamaguchi
4bb5023316
functionalize rump.ifconfig and pppoectl for clearer test code
2021-04-23 03:38:19 +00:00
yamaguchi
2d87bd9bd5
Added test cases for "pppoectl passiveauthproto"
2021-04-23 03:07:19 +00:00
simonb
60f64147e4
Revert previous, 11th time failed after commit. Problem must be elsewhere.
2021-03-02 07:16:24 +00:00
simonb
d71e98b9d4
Bump tentative flag timeout (-w) from 10 to 20 seconds. Changes this
...
test from failing roughly half the time to working 100% over 10 tests on
evbmips er4.
2021-03-02 07:02:14 +00:00
yamaguchi
37f4aefcd5
Use a state of IPCP and IPv6CP to wait for connection established
2020-11-25 10:35:07 +00:00
martin
5e2aeb226f
Fix typo
2020-11-05 20:03:56 +00:00
roy
12f661253d
wg: Fix tests by sprinkling ifconfig -w 10
...
So protocols have time to finish setup.
2020-10-16 16:17:23 +00:00
rin
8674cb4654
Link librumpclient explicitly. Fix sun2, i.e., MKPIC=no build.
2020-10-01 13:49:18 +00:00
roy
d1817bc062
Be like other tests and speciy the binary name we install
2020-09-30 17:14:11 +00:00
roy
04b4419fc0
Fix prior
2020-09-30 17:05:59 +00:00
roy
856440c094
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
2020-09-30 14:43:15 +00:00
roy
428927374e
vether(4): Add ATF tests based on the tap(4) tests.
2020-09-29 19:41:48 +00:00
yamaguchi
643fff90fa
update test cases for AC-Name and Service-Name
2020-09-25 06:15:30 +00:00
yamaguchi
52817f12eb
Add test cases for AC-Name and Service-Name
2020-09-25 06:07:31 +00:00
yamaguchi
3b0bfceb86
Add a limit for auth at a test for invalid account
2020-09-23 06:18:20 +00:00