Use the new executable for mkuserimg_mke2fs

This is in line with the change of mkuserimg_mke2fs.sh to python binary.

Bug: 112555072
Bug: 63866463
Test: unittests pass
Change-Id: I82c0be1e5bbc685edc15120da73aa43fdc9f2f05
This commit is contained in:
Tianjie Xu
2018-08-15 16:16:21 -07:00
parent 48a575c029
commit 573322279a
5 changed files with 6 additions and 6 deletions

View File

@@ -121,13 +121,13 @@ class ValidateTargetFilesTest(unittest.TestCase):
# Use an empty root directory.
system_root = common.MakeTempDir()
cmd = ['mkuserimg_mke2fs.sh', '-s', system_root, output_file, 'ext4',
cmd = ['mkuserimg_mke2fs', '-s', system_root, output_file, 'ext4',
'/system', str(adjusted_size), '-j', '0']
proc = common.Run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
stdoutdata, _ = proc.communicate()
self.assertEqual(
0, proc.returncode,
"Failed to create system image with mkuserimg_mke2fs.sh: {}".format(
"Failed to create system image with mkuserimg_mke2fs: {}".format(
stdoutdata))
# Append the verity metadata.