commit | 8302b875a033ebfb6d35e4b8083917c0b3f17aa6 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Mon Jan 11 22:33:15 2021 -0800 |
committer | David Anderson <dvander@google.com> | Mon Jan 11 23:37:32 2021 -0800 |
tree | 242963d4f944d8f1bb866bd1166691e6e3a5b383 | |
parent | 4067c7e1a7ecc4da2734a55b7eda0974c740f66d [diff] |
libsnapshot: Fix tests that depend on PrepareOneSnapshot(). PrepareOneSnapshot was hardcoded in a way that only worked with pre-compression devices. This patch makes it use the public API and supported update flow. One test, SnapshotTest.Merge, now uses OpenSnapshotWriter instead of MapUpdateSnapshot. There are still other tests using the old API call. Bug: N/A Test: vts_libsnapshot_test Change-Id: Iec4bf6efe6a82e1f90b81fa4211201845ebabe62