diff options
| author | David Anderson <dvander@google.com> | 2019-08-06 15:06:00 -0700 |
|---|---|---|
| committer | David Anderson <dvander@google.com> | 2019-08-07 18:42:21 -0700 |
| commit | 3cb682e3698775f0ea80cb6cfac844c6acf91540 (patch) | |
| tree | 715f276b3cfb8f7586329549f15d5953e92b7ccc /libunwindstack/tests/MemoryFileTest.cpp | |
| parent | d97c946d37bbf1e0fdf9770f16d092fed7daa50a (diff) | |
libsnapshot: Improve first test-run and test cleanup.
This CL fixes a bug where libsnapshot_test failed on the first run. It
also fixes bugs where it could not run if it died in the middle of a
test.
Previously, libsnapshot_test relied on CancelUpdate() to perform
cleanup, which cannot run in certain states. Instead, manually delete
dm devices and COW image files, and forcefully erase any lingering data.
Bug: 136678799
Test: libsnapshot_test gtest
Change-Id: I7b2399a403b387eb47184626e71dcf8674f6ab89
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions
