Merge "fix bug lp:1009041,add option "-F" to make mkfs non-interactive."
This commit is contained in:
@@ -2311,7 +2311,7 @@ disk size: 4.4M''', ''))
|
|||||||
|
|
||||||
def test_mkfs(self):
|
def test_mkfs(self):
|
||||||
self.mox.StubOutWithMock(utils, 'execute')
|
self.mox.StubOutWithMock(utils, 'execute')
|
||||||
utils.execute('mkfs', '-t', 'ext4', '/my/block/dev')
|
utils.execute('mkfs', '-t', 'ext4', '-F', '/my/block/dev')
|
||||||
utils.execute('mkswap', '/my/swap/block/dev')
|
utils.execute('mkswap', '/my/swap/block/dev')
|
||||||
self.mox.ReplayAll()
|
self.mox.ReplayAll()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user