mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-03 15:55:46 +00:00
utils: don't delete tmpdir when debugging test-aa-easyprof.py
It's not useful to report the location of the temporary directory for each test if you're going to immediately delete it. Signed-off-by: Steve Beattie <steve@nxnw.org> Acked-by: Seth Arnold <seth.arnold@canonical.com>
This commit is contained in:
@@ -172,6 +172,7 @@ TEMPLATES_DIR="%s/templates"
|
|||||||
if os.path.exists(self.tmpdir):
|
if os.path.exists(self.tmpdir):
|
||||||
if debugging:
|
if debugging:
|
||||||
sys.stdout.write("%s\n" % self.tmpdir)
|
sys.stdout.write("%s\n" % self.tmpdir)
|
||||||
|
else:
|
||||||
recursive_rm(self.tmpdir)
|
recursive_rm(self.tmpdir)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user