commit | f4d58b483e22206fd94f2f7029cb360d8353996c | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Thu Mar 19 15:56:51 2020 -0700 |
committer | David Anderson <dvander@google.com> | Tue Apr 14 23:32:38 2020 -0700 |
tree | 326344c545549d7ba5eb87f54336a74cdba02b94 | |
parent | 1b1ec8f36a39874fb0420d9dffef7ed76812c9ec [diff] |
libsnapshot: Add a simple script and gtest to simulate power failures during snapshot-merge. This test is pretty straight forward: create two large files, then merge one into the other while injecting kernel crashes. At the end, block-by-block validation is performed against both the snapshot-merge target and the file written to disk. Bug: 139092356 Test: instructions in PowerTest.md Change-Id: I28cc88160cf824039966abff4e61382090a354c5