svn commit: r325022 - head/tests/sys/netpfil/pf

Kristof Provost kp at FreeBSD.org
Thu Oct 26 20:55:35 UTC 2017


Author: kp
Date: Thu Oct 26 20:55:33 2017
New Revision: 325022
URL: https://svnweb.freebsd.org/changeset/base/325022

Log:
  pf tests: Remove temporary files
  
  Remove the created_jails.lst and created_interfaces.lst files in the
  cleanup code.

Modified:
  head/tests/sys/netpfil/pf/utils.subr

Modified: head/tests/sys/netpfil/pf/utils.subr
==============================================================================
--- head/tests/sys/netpfil/pf/utils.subr	Thu Oct 26 20:54:52 2017	(r325021)
+++ head/tests/sys/netpfil/pf/utils.subr	Thu Oct 26 20:55:33 2017	(r325022)
@@ -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
 }


More information about the svn-src-head mailing list