[PATCH 2/3] erofs-utils: tests: pass mkfs options with MKFS_OPTIONS for erofs/015

Jingbo Xu jefflexu at linux.alibaba.com
Tue Jul 25 16:00:11 AEST 2023


Signed-off-by: Jingbo Xu <jefflexu at linux.alibaba.com>
---
 tests/erofs/015 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/erofs/015 b/tests/erofs/015
index e008e98..8e562f6 100755
--- a/tests/erofs/015
+++ b/tests/erofs/015
@@ -38,7 +38,8 @@ head -c 4032 /dev/urandom > $localdir/1
 head -c 4095 /dev/urandom > $localdir/2
 head -c 12345 /dev/urandom > $localdir/3  # arbitrary size
 
-_scratch_mkfs -Eforce-inode-compact --ignore-mtime $localdir >> $seqres.full 2>&1 \
+MKFS_OPTIONS="$MKFS_OPTIONS -Eforce-inode-compact --ignore-mtime"
+_scratch_mkfs $localdir >> $seqres.full 2>&1 \
 	|| _fail "failed to mkfs"
 _scratch_mount 2>>$seqres.full
 
-- 
2.19.1.6.gb485710b



More information about the Linux-erofs mailing list