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 <[email protected]>
---
 tools/tests/nv_data-md5.py | 2 ++
 1 file changed, 2 insertions(+)

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()
-- 
2.37.2

_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to