path: root/tests/netns.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* netns: use massive datagramsJason A. Donenfeld2021-06-011-1/+4
| | | | | | This tests the mbuf fragment code more heavily. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* netns: account for FreeBSD 12 quirksJason A. Donenfeld2021-06-011-2/+7
| | | | | | In ping6, -W -> -x, and DAD affects bind(), so disable it. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* netns: trim test to working parts and rework jail logicJason A. Donenfeld2021-06-011-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>
* netns: use `exit 0` for early exitEd Maste2021-05-191-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>
* netns: enable debug loggingJason A. Donenfeld2021-04-281-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Initial importJason A. Donenfeld2021-03-171-0/+643
There's still more to do with wiring this up properly. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>