2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +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:
Steve Beattie
2014-03-06 10:30:14 -08:00
parent 390cfb2cd5
commit daf437f4e3

View File

@@ -172,7 +172,8 @@ TEMPLATES_DIR="%s/templates"
if os.path.exists(self.tmpdir):
if debugging:
sys.stdout.write("%s\n" % self.tmpdir)
recursive_rm(self.tmpdir)
else:
recursive_rm(self.tmpdir)
#
# config file tests