Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2017 20:55:34 +0000 (UTC)
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325022 - head/tests/sys/netpfil/pf
Message-ID:  <201710262055.v9QKtYlX059880@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710262055.v9QKtYlX059880>