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:
@@ -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
|
||||
|
Reference in New Issue
Block a user