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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user