chiark / gitweb /
test-example: Provide test which uses unshare(8)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 13 Apr 2014 14:10:28 +0000 (15:10 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 24 Apr 2014 00:45:24 +0000 (01:45 +0100)
commitabf665fc6ca2974e13acede83e0a77967fdccf9a
tree6ea49f5e83ff43881e76a12746ac7a7a41591b6e
parent34d3bf4cdcb2d2938c3b92573f66815e4d9392ac
test-example: Provide test which uses unshare(8)

This allows more realistic testing, with the "outside" copy of secnet
in a separate environment with its own instance of the network stack.

We have to go through some contortions to get the user a shell in the
"outside" environment, since unshare -n also breaks AF_UNIX, and we
want to keep the terminal secnet is invoked in just for secnet.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
test-example/README
test-example/fake-userv [new file with mode: 0755]
test-example/outside-unshare.conf [new file with mode: 0644]