From 4fc08f55372f73552968c521c295a1441a81df7b Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Tue, 23 Aug 2022 16:52:28 +0200 Subject: tests: nv_data-md5: cleanup after creating file Without that fix, the file being created isn't deleted at the end of the test, so over time the leftover files accumulate in /tmp. Signed-off-by: Denis 'GNUtoo' Carikli --- tools/tests/nv_data-md5.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/tests/nv_data-md5.py') diff --git a/tools/tests/nv_data-md5.py b/tools/tests/nv_data-md5.py index 91c37f6..b97bdd1 100755 --- a/tools/tests/nv_data-md5.py +++ b/tools/tests/nv_data-md5.py @@ -76,6 +76,8 @@ class NvDataMD5(object): if output != expected_md5: raise Exception() + os.unlink(nv_data_bin) + def main(): nv_data_md5 = NvDataMD5() nv_data_md5.test_help() -- cgit v1.2.3