test-example: Reorder a config to better test CHILDPERSIST
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 1 Oct 2014 22:33:39 +0000 (23:33 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 21 Oct 2014 00:07:12 +0000 (01:07 +0100)
commiteecff7e35bcb1dbde57c380dc13649c3fc579e92
tree7c713e3c42958d21504db85cebca296fdcd8e7fa
parent93cdea57befc5f3ba37a087f827bf02f5768a4a5
test-example: Reorder a config to better test CHILDPERSIST

If we move the polypath comm before the tun netlink, the tun will
already have been set up by the time polypath spawns its privsep
helper.  (Since the entries are processed in reverse order.)  This
means that the CHILDPERSIST phase hook ends up closing the tun fd,
which we can see in strace.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test-example/inside-polypath.conf