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-imei.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/tests/nv_data-imei.py b/tools/tests/nv_data-imei.py
index 79dddc8..1dbebb7 100755
--- a/tools/tests/nv_data-imei.py
+++ b/tools/tests/nv_data-imei.py
@@ -130,6 +130,10 @@ class NvDataImei(object):
         else:
             raise Exception()
 
+        os.unlink(inaccessible_nv_data_bin)
+        os.unlink(nv_data_bin)
+        os.unlink(nv_data_bin + '.md5')
+
 def main():
     nv_data_imei = NvDataImei()
     nv_data_imei.test_help()
-- 
2.37.2

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

Reply via email to