From 87270c8147d5e0c8d10d9daae82a0f71d2aaa30d Mon Sep 17 00:00:00 2001 From: Andrew Vagin Date: Wed, 6 Jul 2016 05:01:58 +0300 Subject: [PATCH] others/mnt-ext-dev: Force mke2fs to create a filesystem It's required because we specify a file instead of a block device. Signed-off-by: Andrew Vagin Signed-off-by: Pavel Emelyanov --- test/others/mnt-ext-dev/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/others/mnt-ext-dev/run.sh b/test/others/mnt-ext-dev/run.sh index 368c03d06..9803a8f77 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