diff options
author | Sen Jiang <senj@google.com> | 2016-03-15 17:09:21 -0700 |
---|---|---|
committer | Sen Jiang <senj@google.com> | 2016-03-17 17:38:54 -0700 |
commit | 990c27b0df5bd77ca804479922a62ba0ee9266ba (patch) | |
tree | ba9242574c5e07f213e70151ab8d391c8a3362ea /payload_generator/ext2_filesystem_unittest.cc | |
parent | bf341e33b3b6cc55139a84a4934bbf649e825581 (diff) |
Use pre-generated ext image instead of create it on the fly.
mkfs.ext3 is not available in target device, so we don't use it.
Also removed all usage of dd.
This fixes a UtilsTest and the first step of integration test, the rest is
still failing because bsdiff is missing.
Test: ./update_engine_unittests
Test: cros_workon_make update_engine --test
Bug: 26955860
Change-Id: Ic600bd6fab1d6839f38d5ef767fbffc5a35571a4
Diffstat (limited to 'payload_generator/ext2_filesystem_unittest.cc')
-rw-r--r-- | payload_generator/ext2_filesystem_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/payload_generator/ext2_filesystem_unittest.cc b/payload_generator/ext2_filesystem_unittest.cc index 17c72d66..3824dc2b 100644 --- a/payload_generator/ext2_filesystem_unittest.cc +++ b/payload_generator/ext2_filesystem_unittest.cc @@ -126,12 +126,14 @@ TEST_F(Ext2FilesystemTest, ParseGeneratedImages) { // be included in the list. set<string> kExpectedFiles = { "/", + "/cdev", "/dir1", "/dir1/file", "/dir1/dir2", "/dir1/dir2/file", "/dir1/dir2/dir1", "/empty-file", + "/fifo", "/link-hard-regular-16k", "/link-long_symlink", "/link-short_symlink", |