[2/3] others/mnt-ext-dev: Force mke2fs to create a filesystem

Submitted by Andrei Vagin on July 6, 2016, 2:01 a.m.


Message ID 1467770519-22034-3-git-send-email-avagin@openvz.org
State Accepted
Series "travis: get a maximum code coverage for resonable time"
Commit b58f32a01a9318976f7b669439df12e6bd4bb545
Headers show

Commit Message

Andrei Vagin July 6, 2016, 2:01 a.m.
From: Andrew Vagin <avagin@virtuozzo.com>

It's required because we specify a file instead of a block device.

Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
 test/others/mnt-ext-dev/run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/test/others/mnt-ext-dev/run.sh b/test/others/mnt-ext-dev/run.sh
index 368c03d..9803a8f 100755
--- a/test/others/mnt-ext-dev/run.sh
+++ b/test/others/mnt-ext-dev/run.sh
@@ -6,7 +6,7 @@  python ../../zdtm.py run -t zdtm/static/env00 --iter 0 -f ns
 truncate -s 0 zdtm.loop
 truncate -s 50M zdtm.loop
-mkfs.ext4 zdtm.loop
+mkfs.ext4 -F zdtm.loop
 dev=`losetup --find --show zdtm.loop`
 mkdir -p ../../dev
 cp -ap $dev ../../dev