Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ed8acb7 authored by Christopher Ferris's avatar Christopher Ferris
Browse files

Clean up some debuggerd test data.

The code uses tmpfile to generate the security policy file for
seccomp tests. Switch this to use the libbase TemporaryFile since
it's easier to use.

Also, move all usage of TemporaryDir into the main test code
body and out of StartProcess. Otherwise, the directory will not
be cleaned up properly.

Test: All unit tests pass and no leftover files in /data/local/tmp.
Change-Id: I6648befd9fd75a703a25b5be25e69a9e021b4b4e
parent 6de4326d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment