diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-08-23 16:52:28 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-08-25 15:41:11 +0200 |
commit | 4fc08f55372f73552968c521c295a1441a81df7b (patch) | |
tree | 837f0a38efbac5b50488ccf8716782eb3543de47 | |
parent | 8d045a9713e01ef4b71b4f171d81ec90fc6987af (diff) | |
download | hardware_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-x | tools/tests/nv_data-md5.py | 2 |
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() |