From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.01.org
Subject: [PATCH 1/3] test-runner: clean up temporary files
Date: Fri, 05 Feb 2021 15:53:06 -0800 [thread overview]
Message-ID: <20210205235308.345635-1-prestwoj@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 755 bytes --]
---
tools/test-runner | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tools/test-runner b/tools/test-runner
index a9b13aa8..6fd4dd1f 100755
--- a/tools/test-runner
+++ b/tools/test-runner
@@ -497,6 +497,8 @@ class Namespace:
print("Killing process %s" % p.name)
self.stop_process(p)
+ os.remove(self.dbus_address.split('=')[0])
+
def __del__(self):
print("Removing namespace %s" % self.name)
self.reset()
@@ -1168,6 +1170,10 @@ def run_auto_tests(ctx, args):
finally:
post_test(ctx, copied)
+ shutil.rmtree('/tmp/certs')
+ shutil.rmtree('/tmp/secrets')
+ os.remove('/tmp/phonesim.conf')
+
# Write out kernel log
if ctx.args.log:
Process(["dmesg"], ctx=ctx, wait=True)
--
2.26.2
next reply other threads:[~2021-02-05 23:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-05 23:53 James Prestwood [this message]
2021-02-05 23:53 ` [PATCH 2/3] test-runner: add monitor to path James Prestwood
2021-02-05 23:53 ` [PATCH 3/3] test-runner: print error if kernel/qemu path is not found James Prestwood
2021-02-05 23:58 ` [PATCH 1/3] test-runner: clean up temporary files Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210205235308.345635-1-prestwoj@gmail.com \
--to=prestwoj@gmail.com \
--cc=iwd@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox