aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2017-10-26 20:55:33 +0000
committerKristof Provost <kp@FreeBSD.org>2017-10-26 20:55:33 +0000
commit96b90524d155bdd2d3f78a0a50cf250164bfbf6c (patch)
treee39642c65a32794e262a45fa47638beafa00a331
parent57d465298a468d1a44ddd5d733d9d58211ecefc7 (diff)
downloadsrc-96b90524d155bdd2d3f78a0a50cf250164bfbf6c.tar.gz
src-96b90524d155bdd2d3f78a0a50cf250164bfbf6c.zip
pf tests: Remove temporary files
Remove the created_jails.lst and created_interfaces.lst files in the cleanup code.
Notes
Notes: svn path=/head/; revision=325022
-rw-r--r--tests/sys/netpfil/pf/utils.subr2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sys/netpfil/pf/utils.subr b/tests/sys/netpfil/pf/utils.subr
index ac94ba78c0a5..f2f28ed0c66a 100644
--- a/tests/sys/netpfil/pf/utils.subr
+++ b/tests/sys/netpfil/pf/utils.subr
@@ -56,6 +56,7 @@ pft_cleanup()
do
jail -r ${jailname}
done
+ rm created_jails.lst
fi
if [ -f created_interfaces.lst ]; then
@@ -63,5 +64,6 @@ pft_cleanup()
do
ifconfig ${ifname} destroy
done
+ rm created_interfaces.lst
fi
}