Add locking and cleaning temporary directory 63/230063/5
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Fri, 3 Apr 2020 13:42:39 +0000 (15:42 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Fri, 10 Apr 2020 13:27:44 +0000 (15:27 +0200)
commit3168078e08c44562c15111eaadcfb8dfae1449c5
tree1399230fc9ebe83f102eded641c1108e518cedb4
parent1415476247dd8889c0e9c9a53976816c8994d923
Add locking and cleaning temporary directory

This commit solves the problem of leaving many temporary directories
that were not deleted if the crash-worker has not finished working
properly.

Change-Id: I415403a2531b6e41ebf20a3b185790d9e21a8ca3
packaging/crash-worker.spec
src/crash-manager/crash-manager.c
src/crash-manager/crash-manager.h
tests/system/CMakeLists.txt
tests/system/clean_temp/clean_temp.sh.template [new file with mode: 0644]
tests/system/temp_lock/temp_lock.sh.template [new file with mode: 0644]
tests/system/utils/minicore-utils.sh