]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - testdata/ctrl_pipe.tdir/ctrl_pipe.post
Vendor import of Unbound 1.6.6.
[FreeBSD/FreeBSD.git] / testdata / ctrl_pipe.tdir / ctrl_pipe.post
1 # #-- ctrl_pipe.post --#
2 # source the master var file when it's there
3 [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
4 # source the test var file when it's there
5 [ -f .tpkg.var.test ] && source .tpkg.var.test
6 #
7 # do your teardown here
8 . ../common.sh
9 kill_pid $FWD_PID
10 # it was stopped with unbound-control (if the test succeeded)
11 kill $UNBOUND_PID >/dev/null 2>&1
12 kill $UNBOUND_PID >/dev/null 2>&1
13
14 rm -f $CONTROL_PATH/controlpipe.$CONTROL_PID
15 exit 0