aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-08-23 16:52:28 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-08-25 15:41:11 +0200
commit4fc08f55372f73552968c521c295a1441a81df7b (patch)
tree837f0a38efbac5b50488ccf8716782eb3543de47
parent8d045a9713e01ef4b71b4f171d81ec90fc6987af (diff)
downloadhardware_replicant_libsamsung-ipc-4fc08f55372f73552968c521c295a1441a81df7b.tar.gz
hardware_replicant_libsamsung-ipc-4fc08f55372f73552968c521c295a1441a81df7b.tar.bz2
hardware_replicant_libsamsung-ipc-4fc08f55372f73552968c521c295a1441a81df7b.zip
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 <GNUtoo@cyberdimension.org>
-rwxr-xr-xtools/tests/nv_data-md5.py2
1 files changed, 2 insertions, 0 deletions
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()