commit | 5d7912845d13bf373f5aac414991f71bfa42b9b9 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Fri Oct 30 16:14:03 2020 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Fri Oct 30 17:11:53 2020 +0000 |
tree | ee6ce4559909e57de05b841014bbe114a4261a54 | |
parent | 974239f53a9f9596b1adc7018037a5a912341afe [diff] |
Clean up temporary files on run_qemu.sh exit Replace the `exec` to GDB with a regular command and register an EXIT handler that cleans up files in a list that every user of `mktemp` should add their file to. Add -K to disable for debugging. Test: ./build/aarch64/run_qemu.sh -T <template> -v # observe cleanup Change-Id: I15eb29029245ef4f42f0ec41b777979cdd21f617