aboutsummaryrefslogtreecommitdiffstats
path: root/tests/netns.sh (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-06-01netns: use massive datagramsJason A. Donenfeld1-1/+4
This tests the mbuf fragment code more heavily. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-01netns: account for FreeBSD 12 quirksJason A. Donenfeld1-2/+7
In ping6, -W -> -x, and DAD affects bind(), so disable it. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-06-01netns: trim test to working parts and rework jail logicJason A. Donenfeld1-543/+43
Rather than agonizing on and on about finishing this, just get what actually works in a tidy place. We also make everything happen in a dedicated child jail, and work with JIDs instead of labels. This should improve isolation and reliability. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-05-19netns: use `exit 0` for early exitEd Maste1-1/+1
It appears that much of netns is not yet ported/usable on FreeBSD, and we previously used `exit 1` to exit early and skip the remainder. Exit without error instead, for CI purposes. Signed-off-by: Ed Maste <emaste@FreeBSD.org>
2021-04-28netns: enable debug loggingJason A. Donenfeld1-0/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>